|
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.
|