Function 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.

double damping() nothrow @property @nogc;

void damping (
  double v
) nothrow @property @nogc;