Tao.Ode SDK Documentation

Ode.dJointAddHinge2Torques Method 

Applies torque1 about the hinge2's axis 1, and torque2 about the hinge2's axis 2. This function is just a wrapper for dBodyAddTorque.

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

Parameters

joint
A dJointID
torque1
A dReal
torque2
A dReal

See Also

Ode Class | Tao.Ode Namespace