cpSpace.sleepTimeThreshold

Time a group of bodies must remain idle in order to fall asleep. Enabling sleeping also implicitly enables the the contact graph. The default value of INFINITY disables the sleeping algorithm.

struct cpSpace
cpFloat sleepTimeThreshold;

Meta