Tao.Ode SDK Documentation |
|
Ode.dMassSetBox Method
Set the mass parameters to represent a box of the given dimensions and density, with the center of mass at (0,0,0) relative to the body.
[Visual Basic]
Public Shared Sub dMassSetBox( _
ByRef
mass As
dMass, _
ByVal
density As
Single, _
ByVal
lx As
Single, _
ByVal
ly As
Single, _
ByVal
lz As
Single _
)
Parameters
-
mass
- the mass to set
-
density
- The density 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