RigidBody2D.sleeping

If true the body is sleeping and will not calculate forces until woken up by a collision or by using applyImpulse or addForce.

  1. bool sleeping [@property getter]
    struct RigidBody2D
    @nogc nothrow @property
    bool
    sleeping
    ()
  2. bool sleeping [@property setter]

Meta