Tao.Ode SDK Documentation

Ode.dBodyGetTorque Method 

Return the current accumulated torque on the body.

[Visual Basic]
Public Shared Function dBodyGetTorque( _
   ByVal body As IntPtr _
) As dVector3
[C#]
public static dVector3 dBodyGetTorque(
   IntPtr body
);

Parameters

body
A dBodyID

Return Value

A dVector3

Remarks

In ODE, the returned values are pointers to internal data structures, so the vectors are only valid until any changes are made to the rigid body system.

See Also

Ode Class | Tao.Ode Namespace