Pathfinding ( A* algorithm)

-right mouse to generate path

logic base on A* algorithm : https://en.wikipedia.org/wiki/A\*\_search_algorithm
Hope that help you to make an AI enemies. Have good day!

1 Like