- Home /
Problem is not reproducible or outdated
How to reach 2D Grid from script? How to reach every tilemap location and use them for pathfinding?
Hello
I'm trying to make a game like pacman and i want enemy to chase player. In order to do that I found out that A* is the best algorithm for this case. However, in all tutorials and source codes that i found, everyone created their grid from script. I created my grid manually and can't reach it through script. How can i reach it?
Answer by bilginba · Jul 10, 2018 at 07:00 AM
I actually remove the grid component and added Grid script based on this video series of Sebastian Lague ( https://www.youtube.com/watch?v=-L-WgKMFuhE&list=PLFt_AvWsXl0cq5Umv3pMC9SPnKjfp9eGW )
Follow this Question
Related Questions
TILE MOVEMENT 0 Answers
How can i take the right path in this pathfind algorithm? 0 Answers
astar' AI falls down, doesn't follow the grid 2 Answers