AI

Pathfinding

Pathfinding

Find paths in Unity Tilemaps with A* Search based off Amit Patel’s implementation.

Download and Import the Pathfinding package then use AStar.FindPath() like so:

List<Vector3> path = AStar.FindPath(tilemap, startPos, endPos);