Tao.Ode SDK Documentation

Ode.dBodySetForce Method 

Set the body force 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 dBodySetForce( _
   ByVal b As IntPtr, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal z As Single _
)
[C#]
public static void dBodySetForce(
   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