Skip to content
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 NavigationRegion function to change navigation map #77191

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented May 18, 2023

Adds NavigationRegion function to change navigation map.

Currently it is only possible to switch the navigation map of a region by using the NavigationServer API directly.
Having it on the node makes it work with enter / exit of Scenetree as well as making the possibility to switch maps more discoverable.

Build on top of #77175 that needs to be merged first.

@smix8 smix8 requested review from a team as code owners May 18, 2023 08:41
@smix8 smix8 added this to the 4.1 milestone May 18, 2023
@smix8 smix8 force-pushed the navigationregion_map_change_4.x branch from 3c614bb to b0389a3 Compare May 18, 2023 08:43
@smix8 smix8 modified the milestones: 4.1, 4.x Jun 6, 2023
@smix8 smix8 force-pushed the navigationregion_map_change_4.x branch from b0389a3 to fe03ed3 Compare June 15, 2023 09:34
doc/classes/NavigationRegion2D.xml Outdated Show resolved Hide resolved
doc/classes/NavigationRegion3D.xml Outdated Show resolved Hide resolved
Adds NavigationRegion function to change navigation map.
@smix8 smix8 force-pushed the navigationregion_map_change_4.x branch from fe03ed3 to 84647ab Compare June 15, 2023 10:05
@akien-mga akien-mga modified the milestones: 4.x, 4.2 Jun 15, 2023
@YuriSizov YuriSizov merged commit 4e66c4c into godotengine:master Jul 12, 2023
@YuriSizov
Copy link
Contributor

Thanks!

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.

3 participants