I would use a “PID controller” logic - it can be used to take in position vector and destination … it uses the previous position against the goal position and updates.
I would use a “PID controller” logic - it can be used to take in position vector and destination … it uses the previous position against the goal position and updates.