Manual:

Tutorials:

API:

ChipmunkBody.Sleep()

function Sleep() : void

Description

Force a body to fall asleep immediately.

A sleeping body doesn't move and isn't updated until it's awoken. While sleeping it uses very little CPU. If an active rigid body collides with a sleeping one, the sleeping one is awoken.