isActive property

bool isActive

Short-cut function to determine if either body is inactive.

Implementation

bool get isActive {
  return bodyA.isActive && bodyB.isActive;
}