What I’m trying to do is display what locations a unit can reach on it’s turn, think new x-com or any turn based strategy game.
Now I found the GetReachableNodes methods in the utilities class, which is great! However, I need to find a way to limit which nodes the seeker can find a path too, based on the length of the path. EG If the next node’s total distance from the seeker is greater than 500 remove it from list of possible nodes.
Anybody have any suggestions on how to do that?
Right so I figured everything out and patched the bugged BFS method to do it. Here’s the patch if you need it: https://github.com/DataRogue/BFS-Patch-For-Aron-Granberg-A-Star