RigidBodyController::SetSleepBoxSize
Defined in:
Sets the sleep box size for a rigid body.
C4Physics.hPrototype
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
