[ODE] Ragdoll - Joint Limits

Jonas Svegland svegland at customred.com
Mon Feb 23 14:46:57 MST 2004


Hi,

You can use any of these functions... 
http://opende.sourceforge.net/ode-latest-userguide.html#ref57

Just use dParamLoStop or dParamHiStop as the parameter and a radian 
value as the value.

For example, this would constrain the axis of a hinge joint between 0 
and  45 degrees.
dJointSetHingeParam (nJointID,  dParamLoStop, 0.0f)
dJointSetHingeParam (nJointID,  dParamHiStop, Pi/4.0f)

Cheers
------------
Jonas Svegland
svegland at customred.com



carlo cabanlig wrote:

> Hi, would anyone know how do I include a movement restraint in a 
> joint.. (i.e. limbs can only move on certain degree ranges)
>  
> Thanks
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>  
>


More information about the ODE mailing list