Tao.Ode SDK Documentation

Ode.dJointGetHingeAngle Method 

Get the hinge angle of the joint. The angle is measured between the two bodies, or between the body and the static environment. The angle will be between -pi..pi. When the hinge anchor or axis is set, the current position of the attached bodies is examined and that position will be the zero angle.

[Visual Basic]
Public Shared Function dJointGetHingeAngle( _
   ByVal joint As IntPtr _
) As Single
[C#]
public static float dJointGetHingeAngle(
   IntPtr joint
);

Parameters

joint
A dJointID

Return Value

A dReal

See Also

Ode Class | Tao.Ode Namespace