Tao.Ode SDK Documentation

Ode.dMassTranslate Method 

Given mass parameters for some object, adjust them to represent the object displaced by (x,y,z) relative to the body frame.

[Visual Basic]
Public Shared Sub dMassTranslate( _
   ByRef mass As dMass, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal z As Single _
)
[C#]
public static void dMassTranslate(
   ref dMass mass,
   float x,
   float y,
   float z
);

Parameters

mass
the mass parameters to translate
x
The displacement along the x axis
y
The displacement along the y axis
z
The displacement along the z axis

See Also

Ode Class | Tao.Ode Namespace