Sitemap

Spring Joint 101.

3 min readMay 19, 2025

Objective: Spring Joint 101.

To start this, I will add a Spring Joint to my cube and remove the fixed joint. Removing the fixed Joint is for me only since this cube had added a fixed Joint in the beginning.

To see the point of the anchor where the spring begins, you will see the yellow dot. To see other connected joint pivots of the second object, disable the auto-configure Connected Anchor.

Note: To see those points clearly and edit those, you can adjust the space between them if you don't want to increase the space, just disable the mesh renderer of one another each time you want to adjust the anchor.

You can adjust the connected body anchor too, using the connected anchor at the y-axis,z, or x.

To make the object look like it has attached to the string, drag and drop the second object's Rigidbody component while selecting the Cube < Inspector < Spring Joint < Connected Body.

To adjust the force of the spring, we use the Spring option to a higher value, which will force the connected body instance to go to the connected pivot; the lower value means the force to push to connected body is low so the object wont reach there.

A damper option is the amount of force that is reduced when the spring is active.

Note: To understand other options, read the link to official documentation below the image or explore other options in play mode.

Here is how the spring joint basic setup is configured.

See you in the next article.

--

--

Suleiman Abdullah
Suleiman Abdullah

Written by Suleiman Abdullah

Self taught Unity Developer, who is passion about making games ,and he loves Math For Game Development

No responses yet