bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 151 forks source link

Consider threading navigation mesh generation. #737

Open bryanedds opened 3 months ago

bryanedds commented 3 months ago

We could put the actual nav mesh generation on another thread, then where it's finished, swap out the existing navigation info on the next available frame. I think godot does something like this with their navigation server - https://docs.godotengine.org/en/stable/tutorials/navigation/navigation_using_navigationservers.html#threading-and-synchronization