[ODE] How to Pin Body

Guillaume Jouffroy oxymore at tele2.fr
Fri Oct 28 11:30:04 MST 2005


R. Frazier a écrit :

> In the ODE test sample called Test_Chain1 or similar examples, how 
> would I pin down
> a linked body to a fixed position so it doesn't move?  And where in 
> the simulation loop should
> I do this pinning?
>
> _

This is written in the ode documentation. Just create a joint and 
declare it to be fixed to the world.
Put 0 as the second body argument = attaching to the world).
Hope you'll read the documentation one day ;o)

Guillaume


More information about the ODE mailing list