DampedSpringJoint2D.damping

The spring joint's damping ratio. A value between 0 and 1. When the two bodies move into different directions the system tries to align them to the spring axis again. A high damping value forces the attached bodies to align faster. Default value: 1

  1. double damping [@property getter]
  2. double damping [@property setter]
    struct DampedSpringJoint2D
    @nogc nothrow @property
    void
    damping
    (
    double v
    )

Meta