Tao.Ode SDK Documentation |
|
Ode.dMassSetParameters Method
Set the mass parameters to the given values.
[Visual Basic]
Public Shared Sub dMassSetParameters( _
ByRef
mass As
dMass, _
ByVal
themass As
Single, _
ByVal
cgx As
Single, _
ByVal
cgy As
Single, _
ByVal
cgz As
Single, _
ByVal
I11 As
Single, _
ByVal
I22 As
Single, _
ByVal
I33 As
Single, _
ByVal
I12 As
Single, _
ByVal
I13 As
Single, _
ByVal
I23 As
Single _
)
[C#]
public static
void dMassSetParameters(
ref
dMass mass,
float themass,
float cgx,
float cgy,
float cgz,
float I11,
float I22,
float I33,
float I12,
float I13,
float I23);
Parameters
-
mass
- A reference to a dMass
-
themass
- the mass of the body
-
cgx
- the x coordinate for the center of gravity position in the body frame
-
cgy
- the y coordinate for the center of gravity position in the body frame
-
cgz
- the z coordinate for the center of gravity position in the body frame
-
I11
- An element of the inertia matrix
-
I22
- An element of the inertia matrix
-
I33
- An element of the inertia matrix
-
I12
- An element of the inertia matrix
-
I13
- An element of the inertia matrix
-
I23
- An element of the inertia matrix
Remarks
The inertia matrix looks like this: [ I11 I12 I13 ] [ I12 I22 I23 ] [ I13 I23 I33 ]
See Also
Ode Class | Tao.Ode Namespace