Spring Joint 2D
A type of joint that allows two rigid bodies to move apart and come together like a spring, imposing a constraint on the relative position between the two bodies.
Add a Spring Joint 2D Component
To add a Spring Joint 2D component:
- Go to the Hierarchy panel
 - Add or select a 2D object and locate its components in the Inspector panel
 - Click Add component
 - Go to 2D Physics
 - Select Spring Joint 2D
 

Properties

| Property | Description | 
|---|---|
| Connected Body | Specifies the other Rigid Body component that the spring joint should be connected to | 
| Anchor | The position in space where the spring joint should be anchored | 
| Connected Anchor | The position in space of the connected body where it should be anchored to the spring joint | 
| Damping Ratio | Sets the degree to suppress spring oscillation. The higher the value, the less movement. | 
| Tolerance | The linear tolerance of the joint. Determines how close the joint must be to its reference position before it's considered at a target. | 
| Breaking Force | The maximum force that the joint can sustain before breaking, when Breakable is enabled |