Tao.Ode SDK Documentation

Ode.dBodyGetForce Method 

Return the current accumulated force on the body.

[Visual Basic]
Public Shared Function dBodyGetForce( _
   ByVal body As IntPtr _
) As dVector3
[C#]
public static dVector3 dBodyGetForce(
   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