Hello
I need help getting objects to push away from each other, but to do it smoothly, not jerkily.
This is the script that makes objects to push
This is what I ended up with:
Is there a way to achieve what I need?
Thank you!
Hello
I need help getting objects to push away from each other, but to do it smoothly, not jerkily.
This is the script that makes objects to push
This is what I ended up with:
Is there a way to achieve what I need?
Thank you!
I think your “move to target” code is conflicting with your “separate from group” code. The two velocities are fighting each other.
How are you moving the zombies toward the target in the first place? It would be ideal to unify that with the separation code somehow.