isDynamic method

bool isDynamic()

Implementation

bool isDynamic() {
  RigidBody body = shape.parent!;
  return body.isDynamic && !body.sleeping;
}