diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-07 21:58:55 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-07 21:58:55 +0200 |
| commit | 307b4e30919ae9762ed12fafbe9b04c90bd105ab (patch) | |
| tree | 4e21fa8f0b7ff8ab9f5818dad3af6983d6454a7e /scene/3d/navigation_agent_3d.cpp | |
| parent | aec5c85acb7e052c64588b708c8ee6d22b3a6489 (diff) | |
| parent | 23521635d2f68525a6e41dde17bf34a53225e3e1 (diff) | |
| download | redot-engine-307b4e30919ae9762ed12fafbe9b04c90bd105ab.tar.gz | |
Merge pull request #94039 from rburing/fix_physics_tickcounter
Fix physics tick counter
Diffstat (limited to 'scene/3d/navigation_agent_3d.cpp')
| -rw-r--r-- | scene/3d/navigation_agent_3d.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/3d/navigation_agent_3d.cpp b/scene/3d/navigation_agent_3d.cpp index dff413f5d2..5bbb724e2f 100644 --- a/scene/3d/navigation_agent_3d.cpp +++ b/scene/3d/navigation_agent_3d.cpp @@ -737,8 +737,6 @@ void NavigationAgent3D::_update_navigation() { return; } - update_frame_id = Engine::get_singleton()->get_physics_frames(); - Vector3 origin = agent_parent->get_global_position(); bool reload_path = false; @@ -835,7 +833,6 @@ void NavigationAgent3D::_request_repath() { target_reached = false; navigation_finished = false; last_waypoint_reached = false; - update_frame_id = 0; } bool NavigationAgent3D::_is_last_waypoint() const { |
