My player movement works fine if I wait until he reached the destination to then, send it to another 0:00 - 0:07 on the video:
But when I do multiple clicks, he “speed up” and make a strange effect on screen (0:08 - 0:015 on the video)
I’m calling the function UpdateTargetPosition(); of TargetMover script on Input.GetMouseButtonDown(0). Even with double click pattern this happens.
I tried to debug many things on AiLerp script but didn’t find the solution.