DampedSpringJoint2D with high mass

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By leo-pnt


I have a spring that supports a mass of 260. But the spring is not strong enough. Parameters are at maximum values but it doesn’t help

How can I increase it’s strenght ?

I can’t decrease the mass of my object because I have calculations based on it to get an accurate center of mass

:bust_in_silhouette: Reply From: gerald1248

This may not help, but there was a time when I thought that the dampened spring wasn’t sufficiently configurable and behaved in very strange and erratic ways.

In the end the problem was not that the spring wasn’t configurable but that it attached to the center of my 2D scene by default. When I reparented it to associate it with the player, the problem went away.

Thanks for your answer,

I finally used PinJoint2D with a little bit of softness. It works way better and luckily not distinguishable from a spring in my case

leo-pnt | 2020-12-17 15:19