21-04-2022, 12:09 PM
(This post was last modified: 21-04-2022, 12:09 PM by josemendez.)
What you wrote is a regular spring: Force = -kx (where K is the "speed" constant, and x the distance between the red ball and the softbody).
You could add a dampening factor to control and reduce oscillation. See:
https://phys.libretexts.org/Bookshelves/...cillations
You could add a dampening factor to control and reduce oscillation. See:
https://phys.libretexts.org/Bookshelves/...cillations