allowSleep property

bool allowSleep
read / write

Set this flag to false if this body should never fall asleep. Note that this increases CPU usage.

Implementation

bool allowSleep = true;