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.

  1. bool canSleep [@property getter]
    struct RigidBody
    @nogc nothrow @property
    bool
    canSleep
    ()
  2. bool canSleep [@property setter]

Meta