Tao.Ode SDK Documentation |
|
Ode.dMassAdjust Method
Given mass parameters for some object, adjust them so the total mass is now newmass
[Visual Basic]
Public Shared Sub dMassAdjust( _
ByRef
mass As
dMass, _
ByVal
newmass As
Single _
)
Parameters
-
mass
- the mass parameters to adjust
-
newmass
- the new total mass
Remarks
This is useful when using the "mass set" functions to set the mass parameters for certain objects - they take the object density, not the total mass.
See Also
Ode Class | Tao.Ode Namespace