Function RigidBody.canSleep

If true, the RigidBody will not calculate forces and will act as a static body while there is no movement. It will wake up when forces are applied through other collisions or when the apply_impulse method is used.

bool canSleep() nothrow @property @nogc;

void canSleep (
  bool v
) nothrow @property @nogc;