dFloat NewtonHingeGetJointAngle (const NewtonJoint* hinge);
Get the relative joint angle between the two bodies.
- const NewtonJoint *Hinge - pointer to the joint.
- the joint angle relative to the hinge pin, in radians.
- this function can be used during a function update call back to provide the application with some special effect. for example the application can play a bell sound when the joint angle passes some max value.