Skip to content

Correct NavigationAgent property name #11042

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

Merged

Conversation

charjr
Copy link

@charjr charjr commented Jun 21, 2025

Problem

Both NavigationAgent2D and NavigationAgent3d have the property avoidance_enabled.

Using NavigationAgents incorrectly names it enable_avoidance.

Solution

Rename the property in Using NavigationAgents to match the property name.

@skyace65 skyace65 merged commit 06e8b01 into godotengine:master Jun 22, 2025
1 check passed
@skyace65
Copy link
Contributor

Thanks! And congrats on your first merged PR!

@charjr charjr deleted the correct-navigationagent-property branch June 23, 2025 08:06
@charjr
Copy link
Author

charjr commented Jun 23, 2025

@skyace65 Quick question; are any PRs too small? I'm still learning Godot's API so I don't have any grand improvements to contribute at this time.

I'm reading the docs during time I spend on my own project. When I do, I occasionally spot small typos like "off" used where it should be "of" but making a PR to remove 1 character felt excessive.

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

Successfully merging this pull request may close these issues.

4 participants