Tao.Ode SDK Documentation

Ode.dJointGetAMotorAngle Method 

Return the current angle for axis anum. In dAMotorUser mode this is simply the value that was set with dJointSetAMotorAngle. In dAMotorEuler mode this is the corresponding euler angle.

[Visual Basic]
Public Shared Function dJointGetAMotorAngle( _
   ByVal joint As IntPtr, _
   ByVal anum As Integer _
) As Single
[C#]
public static float dJointGetAMotorAngle(
   IntPtr joint,
   int anum
);

Parameters

joint
A dJointID
anum
An int

Return Value

A dReal

See Also

Ode Class | Tao.Ode Namespace