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

void TA::DynamicObject::ApplyForceAndTorqueToVelocities (
float   fDt  )
 

After calling TA::DynamicObject::AccumulateGravity and or TA::DynamicObject::AccumulateForceAndTorque, it is necessary to call this function to update the velocities. TA::DynamicObject::ClearForceAndTorque should then be called to clean up.

See also:
Note:
If the object is at rest, calling this function will have no effect. Use the function Ta::Physics::SetDynamicObjectIsMoving to make sure the object is not at rest. TA::DynamicObject::ClearForceAndTorque, TA::DynamicObject::AssertForceAndTorqueCleared, TA::DynamicObject::AccumulateGravity and TA::DynamicObject::AccumulateForceAndTorque.
Parameters:
fDt
The time increment to update the velocities over. (s).
Examples:
DynamicObjectOverrideExample.cpp.



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