19.4.9
isRogue
bool = physics.Body:isRogue()
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Body |
The input Body |
bool |
out boolean |
True if the Body is a rogue Body |
Returns true if the Body is a rogue Body, never having been added to the simulation Space.
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'