21-04-2022, 02:21 PM
(21-04-2022, 12:09 PM)josemendez Wrote: 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).I do not understand that
You could add a dampening factor to control and reduce oscillation. See:
https://phys.libretexts.org/Bookshelves/...cillations

The problem is this is working when I use rigidbody.velocity = velocity but its not wokring when I try to use rigidbody.AddForce(velocity) is it possible to use something like ObiActor.velocity instead of ObiActor.AddForce() ?