[ODE] Maintaining a static body while using a hinge2

Andrew Hannon hannon at cs.umass.edu
Tue Jan 11 14:44:55 MST 2005

Thanks for the reply,

I actually tried this, but I ran into problems when the joint was a 
hinge2. I'm not sure if it is a problem with hinge2 joints or not, but 
I couldn't get it to work...

I was able to do it using a regular hinge joint, so I guess I'm 
satisfied for now...


On Jan 11, 2005, at 2:29 PM, Chunky Kibbles wrote:

> On Tue, Jan 11, 2005 at 01:40:28PM -0500, Andrew Hannon wrote:
>> Hello,
>> How would I keep a body static while the other can rotate about with a
>> hinge2 (much like a weathervane)? I tried using a fixed joint (for
>> debugging only, of course), but that didn't prevent the base for
>> eventually teetering over. I'm new to ODE, but I can't quite figure 
>> out
>> how to do what I am trying to do...
> Ignore the static body. Join the moving body to the world with a
> suitable joint: dJointAttach(joint, body, 0)
> Gary (-;

More information about the ODE mailing list