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

void TA::DynamicObject::SetGravityMult (
float   fGravityMult  ) [inline]
 

Call this function to set the gravity multiplier for the dynamic object. The default value is 1.0.

Gravity is applied to dynamic objects during the call to TA::DynamicObject::Update. The value used for gravity is obtained by multiplying the gravity multiplier with the value returned by the function TA::Physics::GetGravity().

See also:
TA::DynamicObject::GetGravityMult.
Parameters:
fGravityMult
The new value for the object gravity multiplier.



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