[ODE] Re : Re :hinge2

Ceydric ceydric2002 at yahoo.fr
Tue Apr 25 01:28:27 MST 2006


Maybe you can get your angle2 by getting the quaternion of the associated object. You should have something attached to your joint, something on which your angle2 is applied. For example a wheel which is supposed to turn according to this hinge2angle2 value. So you can probably get your angle2 but getting the quaternion of the associated body with dGeomGetRotation (wheelGeomID) or dBodyGetRotation (which must send you the same value if this is a non static object, which should be the case : dBodyGetRotation (wheelBodyID)).
I hope this can be helpfull for you
 
Ceydric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060425/e3b12eae/attachment.htm


More information about the ODE mailing list