Tao.Ode SDK Documentation

Ode.dBodySetLinearVel Method 

Set the linear velocity of the body. After setting a group of bodies, the outcome of the simulation is undefined if the new configuration is inconsistent with the joints/constraints that are present.

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

Parameters

body
A dBodyID
x
A dReal
y
A dReal
z
A dReal

See Also

Ode Class | Tao.Ode Namespace