|
Call this function to apply a force to the accumulated force and torque.
This function is designed to be used if when overriding TA::DynamicObject::Update. - See also:
- TA::DynamicObject::AccumulateLinearForce, TA::DynamicObject::ClearForceAndTorque, TA::DynamicObject::AssertForceAndTorqueCleared, TA::DynamicObject::AccumulateGravity, and TA::DynamicObject::ApplyForceAndTorqueToVelocities.
- Parameters:
-
| v3WorldForce |
| | The force to apply to the dynamic object in world space. (kg.m/s2). |
| v3WorldPosition |
| | The position, in world space, where to apply the force to the dynamic object. (m) |
- Examples:
-
DynamicObjectOverrideExample.cpp.
|