Tao.Ode SDK Documentation

Ode.dJointAddHingeTorque Method 

Applies the torque about the hinge axis. That is, it applies a torque with magnitude torque, in the direction of the hinge axis, to body 1, and with the same magnitude but in opposite direction to body 2.

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

Parameters

joint
A dJointID
torque
A dReal

Remarks

This function is just a wrapper for dBodyAddTorque

See Also

Ode Class | Tao.Ode Namespace