World::HandlePhysicsSpaceExit
Defined in:
Called by default when a rigid body exits the volume enclosed by the physics space.
C4World.h
Prototype
virtual void HandlePhysicsSpaceExit(RigidBodyController *rigidBody);
Parameters
rigidBody |
The rigid body that exited the physics space. |
Description
The HandlePhysicsSpaceExit
function is called by the RigidBodyController
class by default when a rigid body exits the volume enclosed by the physics space. This function can be overridden in a subclass of World
in order to carry out a specialized response to this occurrence. The default implementation of the HandlePhysicsSpaceExit
function immediately deletes the node to which the rigid body controller is assigned.
See Also