|
Call this function to add a static object to the physics simulation. If the object is already added, this function will have no effect. See TA::PhysicsObject and TA::StaticObject for more details.
- Note:
- This function calls
AddRef() on the parameter pStaticObject . Release() will be called by TA::Physics::RemoveStaticObject or when TA::Physics is destroyed. See reference counting for more information.
- Parameters:
-
pStaticObject | |
A pointer to the static object to add to the simulation. Must be non-zero. |
- Examples:
-
SimplePhysicsSimulationExample.cpp.
|