Manual:

Tutorials:

API:

Chipmunk.sleepTimeThreshold

static var sleepTimeThreshold : float

Description

When objects are moving slower than the idleSpeedThreshold for longer than the sleepTimeThreshold they are considered idle. A group of objects in contact fall asleep when they are all idle.

The sleepTimeThreshold default is 0.5.