DampedSpringJoint2D

    Category: Core

    Damped spring constraint for 2D physics. This resembles a spring joint that always wants to go back to a given length.

    • damping

    The spring joint’s maximum length. The two attached bodies cannot stretch it past this value. Default value:



    • stiffness

    The higher the value, the less the bodies attached to the joint will deform it. The joint applies an opposing force to the bodies, the product of the stiffness multiplied by the size difference from its resting length. Default value: