Hey all,
I’m using Aron Granberg’s A* pathfinding project with a random maze game, but have hit a problem. As the maze is randomly generated at runtime, the paths change each time. This creates a problem with what I had hoped to use for my AI, as they won’t move if there isn’t a path. I’ve noticed though, if I click the “scan” button in the A* Editor while in play-mode, a path is computed.
Is there a way I can force a scan after my maze is generated?
EDIT: i’m using JavaScript