Hello!
-
How to change the maximum number of paths for calculation at the same time.
I update the paths of 100 agents at the same time - and a minifreeze occurs
-
I am updating certain bounds in the graph. How can I update the already calculated paths that intersect the bounds in the graph that I update?
Thanks!
- Is all pathfinding done through jobs?
- No, the paths are usually calculated in a separate thread (if you enable A* Inspector -> Settings -> Threads), so they are not really tied to the frame rate. Check the profiler to see what is causing the freeze.
- There is no out of the box solution for this. Usually agents recalculate their paths regularly so that they will pick up on changes quickly enough.
- No, but they use threads.