I have an array of possible destinations, and I’d like to be able create paths to each one, and then compare them to determine which one to follow. Most of the time, I would be specifically looking for the shortest path (in which case MultiTargetPath would work best) but I may want to evaluate them on different metrics or even do something like pick randomly from the 3 shortest paths in order to add a level of unpredictability to the AI.
I started by loosely following the code found here, and at first glance, it seems like it should work perfectly, but I’m having some trouble fully implementing it. Namely, after I have a path object that I’ve determined is the one I want, how do I make the seeker follow it? I think a lot of my confusion is due to the bulk of tutorials focusing on using the seeker class for path finding where as this example uses ABPath and AstarPath, and I’m just not sure what the consequences and differences are of using those instead of Seeker.
Would really appreciate any help!