Merge pull request #105067 from smix8/navmesh_sync

Move NavigationServer navmesh sync from main() to process()
This commit is contained in:
Thaddeus Crews
2025-04-14 19:39:51 -05:00
3 changed files with 4 additions and 7 deletions

View File

@@ -1262,6 +1262,8 @@ void GodotNavigationServer2D::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 GodotNavigationServer2D::physics_process(double p_delta_time) {