Closed BoroBongo closed 10 months ago
I integrated the path finder into existing WaynetCreator.cs / WaynetHelper.cs.
Still need to test the Dijkstra*Debug.cs method and see if the calculations are still there.
I already tested it and use it in another branch. I merge it now.
This change implements a global access to the FindFastestPath method in the DijkstraPathFinder static class. This allows any part of the code* to find the fastest path between two waypoints using Dijkstra's algorithm.
🚨 * Earliest it can be called is right after the WaynetCreator runs and Waypoint GameObject have been created 🚨
To test
Checklist
Scene
Testing
Dependencies