C4 Engine
C4 Engine API Documentation

RigidBodyController::HandlePhysicsSpaceExit

Defined in:  C4Physics.h
Called when a rigid body exits the volume enclosed by the physics space.
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

World::HandlePhysicsSpaceExit