mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #105067 from smix8/navmesh_sync
Move NavigationServer navmesh sync from main() to process()
This commit is contained in:
commit
756053f05f
3 changed files with 4 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue