GothicVR
GothicVR copied to clipboard
Job System to handle Dijkstra path generation in separate threads
Unity Job System seems the way to overcome even the biggest paths. It's intended for Multithreading. Please check it out: https://docs.unity3d.com/Manual/JobSystem.html
What we need:
- The whole Dijkstra logic needs to work autonomously and with multiple parallel executions in mind
- Therefore we should work on a class instance and not a static function
- PSEUDOCODE
new List<DijkstraWayPoints> Dijkstra(List<WayPoints> list).Calculate(string start, string end)