2
\$\begingroup\$

I have created a map using Tiled application and have added collision boxes and used Tiled2Unity to import the map to Unity. The collisions are working with key inputs.

I want to implement pathfinding in my 2D tile game.

I have studied and written a A * pathfinding code with 2D array in C#, which is working. But with the map import I have no way to iterate through the tiles.

How to go about implementing pathfinding?

\$\endgroup\$

0

You must log in to answer this question.

Browse other questions tagged .