Hello everyone!
I’m working on an endless runner game.
In this game, the player moves left and right, and the world moves forward and backward — all based on player input.
I have some NPCs that I want to patrol and chase the player, but I’m having trouble with pathfinding.
I’m using the A* Pathfinding Project. I tried using a Local Space Graph (which works when the walkable layer moves) along with the Procedural Grid Mover (to rescan when the player moves a certain distance).
But it’s not working right — maybe I’m setting it up wrong, or missing something.
Any ideas or suggestions?