True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::DynamicObject::SetMass (
float   fMass  )
 

Call this function to change the mass of the object. A valid range for mass is between 1.0e-9 kg and 1.0e9 kg.

Note:
During a collision involving objects of varied mass, if the ratio of colliding masses is greater then 1:50, then the masses may be automatically adjusted during solving the physics response and reset afterwards.
See also:
TA::DynamicObject::GetMass and TA::DynamicObject::GetInverseMass
Parameters:
fMass
Mass in kilograms (kg).



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.