allowSleep property
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;
Set this flag to false if this body should never fall asleep.
Note: Not alllowing a body to sleep increases CPU usage.
bool allowSleep;