Unity::Pathfinding with A* algorithm in Unity small game project
· ☕ 8 min read
https://pavcreations.com/pathfinding-with-a-star-algorithm-in-unity-small-game-project/ Introduction
In this tutorial we are going to look into the pathfinding of the shortest route between two points in a tilemap-based world on a basis of a grid. It is a continuation of the previous article where I’ve presented the concepts behind A* search algorithm. Last time, I’ve implemented a grid that now will be used by enemies to move around levels. That is to say, the enemies will independently wander around a game world without bumping into obstacles.