C4 Engine
C4 Engine API Documentation

RigidBodyController::SetSleepBoxSize

Defined in:  C4Physics.h
Sets the sleep box size for a rigid body.
Prototype

float SetSleepBoxSize(float size) const;

Parameters
size The new size of the sleep box.
Description
The SetSleepBoxSize function sets the size of the sleep boxes used to determine when a rigid body can be put to sleep. The initial value is given by the kRigidBodySleepBoxSize constant. Larger values increase the tendancy for a rigid body to be put to sleep when it experiences only small motions.
See Also

RigidBodyController::GetSleepBoxSize