[ODE] Maintaining a static body while using a hinge2

Sean S Cullen Sean at blackscreen.org
Tue Jan 11 14:11:02 MST 2005


The key point that I believe you are missing is that you do not have to
specify a body for both halves of the joint (Hinge2).  Pass NULL in for
one of the joint params.  This locks that part of the joint in place.


> 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...
>
> Thanks,
>
> Andrew
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode





More information about the ODE mailing list