RigidBodyController::HandlePhysicsSpaceExit
Defined in:
Called when a rigid body exits the volume enclosed by the physics space.
C4Physics.h
Prototype
virtual void HandlePhysicsSpaceExit(void);
Description
The HandlePhysicsSpaceExit
function is called by the Physics Manager when a rigid body exits the volume enclosed by the physics space. An overriding implementation is allowed to destroy the rigid body using the delete this
expression.The default implementation of the
HandlePhysicsSpaceExit
function calls the World::HandlePhysicsSpaceExit
function.A world may contain at most one active physics space, and the world's physics node must be connected to it through a connector having the type given by the global constant
kConnectorKeyPhysics
.
See Also