RigidBody.canSleep

If true, the body can enter sleep mode when there is no movement. See sleeping. Note: A RigidBody3D will never enter sleep mode automatically if its mode is constant MODE_CHARACTER. It can still be put to sleep manually by setting its sleeping property to true.

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

Meta