[ODE] How to Pin Body

R. Frazier rtdoger at hotmail.com
Fri Oct 28 15:03:21 MST 2005

Ok, I found it in the FAQ, not the docs:

12.1. How do I connect a body to the static environment with a joint?
Use dJointAttach with arguments (body,0) or (0,body).

And I think I solved my problem.  If I create an extra 'fake' joint as the 
that is not part of the chain, then I think I can do it.


>From: Guillaume Jouffroy <oxymore at tele2.fr>
>To: "R. Frazier" <rtdoger at hotmail.com>
>CC: ode at q12.org
>Subject: Re: [ODE] How to Pin Body
>Date: Fri, 28 Oct 2005 11:30:04 +0200
>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)

Scan and help eliminate destructive viruses from your inbound and outbound 
e-mail and attachments. 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

More information about the ODE mailing list