Tao.Ode SDK Documentation

Ode.dBodyAddForce Method 

Add force to a body using absolute coordinates.

[Visual Basic]
Public Shared Sub dBodyAddForce( _
   ByVal body As IntPtr, _
   ByVal fx As Single, _
   ByVal fy As Single, _
   ByVal fz As Single _
)
[C#]
public static void dBodyAddForce(
   IntPtr body,
   float fx,
   float fy,
   float fz
);

Parameters

body
A dBodyID
fx
A dReal
fy
A dReal
fz
A dReal

Remarks

Forces are accumulated on to each body, and the accumulators are zeroed after each time step. Force is applied at body's center of mass

See Also

Ode Class | Tao.Ode Namespace