Hello all,
I’m coding AI for a 2D top-down game and using grid graphs for pathfinding. What I’m trying to do is have different enemies which are programmed to avoid different obstacles.
Specifically I want flying enemies to be able to fly over obstacles but still have to go around walls, and in an ideal circumstance I would be able to change this dynamically (enemies that avoid all obstacles but can be told to ignore certain obstacles under specific circumstances)
As far as I can see in the documentation the A* project does not natively support this feature, and I have absolutely no issue altering code to make this work but I’m having a hard time figuring out where to look.
Another alternative is if there’s a way to pass in my own GridNode list to a seeker when it calculates a path, but once again after digging through the code I’m having a hard time finding where the Path type actually uses the GridNode list to calculate. If anyone could point me in the right direction I would greatly appreciate it!