bool = physics.Body:isSleeping()
|
Parameter |
Type |
Description |
|---|---|---|
|
self |
in physics.Body |
The input Body |
|
bool |
out boolean |
True if the Body is sleeping |
Returns true if the body is sleeping.
Info
See http://chipmunk-physics.net/release/Chipmunk-5.x/Chipmunk-5.3.4-Docs/ for an explanation of rogue bodies.
Introduced in platform.apiLevel = '2.0'