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]
  2. bool canSleep [@property setter]
    struct RigidBody
    @nogc nothrow @property
    void
    canSleep
    (
    bool v
    )

Meta