Skip to content

NavigationAgent - ending navigation early note is incorrect #10915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lokimckay opened this issue May 1, 2025 · 0 comments
Open

NavigationAgent - ending navigation early note is incorrect #10915

lokimckay opened this issue May 1, 2025 · 0 comments

Comments

@lokimckay
Copy link
Contributor

Your Godot version: 4.4.1

Issue description:
NavigationAgent2D and 3D both contain this note under the target_desired_distance property:

You can make navigation end early by setting this property to a value greater than path_desired_distance (navigation will end before reaching the last waypoint).

I believe that instead of path_desired_distance the author actually meant distance_to_target().

It doesn't make sense that navigation would end if the target_desired_distance is set to a value larger than path_desired_distance but smaller than distance_to_target()

URL to the documentation page:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant