Tao.Ode SDK Documentation |
|
Ode.dMassSetSphere Method
Set the mass parameters to represent a sphere of the given radius and density, with the center of mass at (0,0,0) relative to the body.
[Visual Basic]
Public Shared Sub dMassSetSphere( _
ByRef
mass As
dMass, _
ByVal
density As
Single, _
ByVal
radius As
Single _
)
Parameters
-
mass
- the mass to set
-
density
- the density of the sphere
-
radius
- the radius of the sphere
See Also
Ode Class | Tao.Ode Namespace