Tao.Ode SDK Documentation

Ode.dJointSetAMotorAngle Method 

Tell the AMotor what the current angle is along axis anum. This function should only be called in dAMotorUser mode, because in this mode the AMotor has no other way of knowing the joint angles. The angle information is needed if stops have been set along the axis, but it is not needed for axis motors.

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

Parameters

joint
A dJointID
anum
An int
angle
A dReal

See Also

Ode Class | Tao.Ode Namespace