var isSleeping : bool
Is the rigid body 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.