Call this function to put a dynamic object to rest. Any velocities and forces will be set to zero and the object will be removed from the moving list. Dynamic objects will be automatically put to rest when they stop moving. This function allows the user to force the issue.
See TA::Physics::SetDynamicObjectIsMoving for more information about moving and resting objects. - Warning:
- This function may be slow if there are a large number of moving objects. The speed is proportional to the number of moving objects. If an objects needs to be at rest when initially added to the simulation, it should be specified in the call to TA::Physics::AddDynamicObject rather than using this function.
- Parameters:
-
pDynamicObjectA | |
The dynamic object to be put to rest. Must be non-zero. |
|