Tao.Ode SDK Documentation

Ode.dBodySetTorque Method 

Set the body torque accumulation vector. This is mostly useful to zero the force and torque for deactivated bodies before they are reactivated, in the case where the force-adding functions were called on them while they were deactivated.

[Visual Basic]
Public Shared Sub dBodySetTorque( _
   ByVal b As IntPtr, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal z As Single _
)
[C#]
public static void dBodySetTorque(
   IntPtr b,
   float x,
   float y,
   float z
);

Parameters

b
A dBodyID
x
A dReal
y
A dReal
z
A dReal

See Also

Ode Class | Tao.Ode Namespace