Manual:

Tutorials:

API:

Chipmunk.idleSpeedThreshold

static var idleSpeedThreshold : float

Description

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

The default idleSpeedThreshold is set based on the amount of gravity.