03-03-2021, 03:18 PM
(This post was last modified: 03-03-2021, 03:19 PM by josemendez.)
(03-03-2021, 03:12 PM)zero16832 Wrote: How can I limit softbody speed(use addForce)?
How can I slow down the softbody speed?
You can just clamp the velocity of each particle, same if you want to slow it down (by multiplying it by something smaller than 1, say 0.8)
Don't be afraid to iterate over all particles in the body and set their velocities, internally Obi does this literally dozens of times per frame (albeit using multithreading). Doing it in the main thread is slower, but there aren't enough particles in your softbody for this to have an impact on performance.