C4 Engine
C4 Engine API Documentation

World::HandlePhysicsSpaceExit

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

RigidBodyController::HandlePhysicsSpaceExit