allowSleep property

bool allowSleep
getter/setter pair

Set this flag to false if this body should never fall asleep.

Note: Not alllowing a body to sleep increases CPU usage.

Implementation

bool allowSleep;