I have an issue where my agent is moving away from its destination after it has reached it.
The confusing part is that 1. it is basically the same logic as another character which is working fine and 2. the agent keeps moving even after I set canMove to false and isStopped to true.
Pseudo logic looks like this:
if reachedDestination
canMove=false;
isStopped=true;
There is no change on my side on the agent’s destination or on one of these parameters AFTER it has reached its destination.
But these are the exact same parameters as for another agent, and he stops at destination.
also, the one in the video always moves in the same direction, so it cannot be deceleration