hasActiveBodies property

bool hasActiveBodies
getter/setter pair

True if any bodies are not sleeping, false if every body is sleeping.

Implementation

bool hasActiveBodies = false;