Tao.Ode SDK Documentation |
|
Ode.dMassSetBoxTotal Method
Set the mass parameters to represent a box of the given dimensions and total mass, with the center of mass at (0,0,0) relative to the body.
[Visual Basic]
Public Shared Sub dMassSetBoxTotal( _
ByRef
mass As
dMass, _
ByVal
total_mass As
Single, _
ByVal
lx As
Single, _
ByVal
ly As
Single, _
ByVal
lz As
Single _
)
Parameters
-
mass
- the mass to set
-
total_mass
- The total mass of the box
-
lx
- The side length of the box along the x axis
-
ly
- The side length of the box along the y axis
-
lz
- The side length of the box along the z axis
See Also
Ode Class | Tao.Ode Namespace