ChipmunkBody
.isSleeping var isSleeping : bool
Indicates if the rigid body is sleeping or not.
A rigid body is put to sleep when it stops moving. It won't be updated each frame and it will consume very little CPU time. Sleeping bodies wake up automatically when touched by another body. You can call body.isSleeping = true
to force a body to fall asleep immediately. See also Chipmunk.idleSpeedThreshold
and Chipmunk.sleepTimeThreshold