Why does NavigationAgent3D is_navigation_finished and is_target_reached behave differently?

Godot Version

4.2.2

Question

I am confused as to why the behaviour between these two functions is different when in the source code it looks like they rely upon the same calculation?

image

In my use of these functions I have determined that is_target_reached uses the target_desired_distance property and is_navigation_finished uses the path_desired_distance property even though in the above screenshot the function that checks whether to trigger is_navigation_finished also uses target_desired_distance.

Any insight would be appreciated.

Disregard, I was looking at the master branch not the 4.2.2-stable branch which is what I am using

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.