Final Diagonal in ailerp

Hi guys!.
I am new on A *.
:sweat_smile:
I have been testing Ailerp script for my 2d RPG game. The 4-way movement works very well, but depending on the position of the Target, in the last section it moves diagonally.
How I can avoid this?

Hi

The agent will by default move to the exact point you specified, which may require it to move diagonally.
You can change this by changing the Seeker -> Start End Modifier settings.
See also https://arongranberg.com/astar/docs/startendmodifier.html#Exactness

1 Like

It work. Thank you so much Aron.