Merge pull request #105067 from smix8/navmesh_sync
Move NavigationServer navmesh sync from main() to process()
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user