isAwake method

bool isAwake ()

Get the sleeping state of this body.

@return true if the body is awake.

Implementation

bool isAwake() {
  return (_flags & AWAKE_FLAG) == AWAKE_FLAG;
}