-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Add NavigationAgent2D/3D set_navigation_map() function #62044
Add NavigationAgent2D/3D set_navigation_map() function #62044
Conversation
7a74690
to
331c1d5
Compare
Since there is both a setter and a getter, this should probably be implemented as a property instead. It can be implemented as a non-editor property ( |
Wouldn't a property require another dedicated variable as the getter can return something different when no override is set? |
In that case it's probably better as two separate methods as it's doing more than just setting a shared member variable indeed. The descriptions can't easily be unified into what happens when just reading a potential |
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
331c1d5
to
f10ff0e
Compare
Thanks! |
@smix8 Would be good if you can make a backport for this one to 3.5, it seems like there's still some minor difference in the NavigationAgent code between |
Add NavigationAgent2D/3D
set_navigation_map()
andget_navigation_map()
function to change maps with NavigationAgent Nodes as they do not react to changes on the abstractagent
on the NavigationServer that are made with the API directly.Fixes #62040