#Using Pathfinding AI to find player in a 2D Sidescrolling game
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Been racking my brain trying to figure out a way to do this, the only things online I've found is a nav mesh thing which seems to only work well in top down games, and an A* pathfinding thing that just crashes my unity every time I try to do anything with it. Anyone got any tips for doing this?
There's no built-in navigation solution for 2d. Most people use A* I think. Some use unofficial navmesh 2d plugin.
If A* crashes for you, this is not normal and you should probably investigate the cause.
If it crashes, it sounds like an infinite loop