Move NavigationServer navmesh sync from main() to process()

Moves NavigationServer navmesh sync from main() to process().
This commit is contained in:
smix8 2025-04-05 21:29:24 +02:00
parent a210fe6dbd
commit a4c56d478a
3 changed files with 4 additions and 7 deletions

View file

@ -1343,6 +1343,8 @@ void GodotNavigationServer3D::process(double p_delta_time) {
// Will run reliably every rendered frame independent of the physics tick rate.
// Use for things that (only) need to update once per main loop iteration and rendered frame or is visible to the user.
// E.g. (final) sync of objects for this main loop iteration, updating rendered debug visuals, updating debug statistics, ...
sync();
}
void GodotNavigationServer3D::physics_process(double p_delta_time) {