Tao.Ode SDK Documentation

Ode.dJointAddAMotorTorques Method 

Applies torque0 about the AMotor's axis 0, torque1 about the AMotor's axis 1, and torque2 about the AMotor's axis 2. If the motor has fewer than three axes, the higher torques are ignored.

[Visual Basic]
Public Shared Sub dJointAddAMotorTorques( _
   ByVal joint As IntPtr, _
   ByVal torque1 As Single, _
   ByVal torque2 As Single, _
   ByVal torque3 As Single _
)
[C#]
public static void dJointAddAMotorTorques(
   IntPtr joint,
   float torque1,
   float torque2,
   float torque3
);

Parameters

joint
A dJointID
torque1
A dReal
torque2
A dReal
torque3
A dReal

Remarks

This function is just a wrapper for dBodyAddTorque.

See Also

Ode Class | Tao.Ode Namespace