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

Fix GridMap Navigation transform changes and debug #61800

Merged

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jun 8, 2022

Fix GridMap navigation transforms and debug.

GridMap did not update the transforms of navigation regions if the GridMap Node was moved.
GridMap with baked NavigationMesh did not create visuals for navigation debug at all.
GridMap clear() function was stuck in an RID delete loop with error spam from NavigationServer.

Part of #61293 and proposal #4507

Fixes #32244
Fixes #27216
Fixes #17118 since the doc is already merged now.

@smix8 smix8 requested a review from a team as a code owner June 8, 2022 09:37
@smix8 smix8 force-pushed the navigation_gridmap_transform_debug_4.x branch from 1e17b28 to b2bf0d6 Compare June 8, 2022 09:41
@smix8 smix8 changed the title Fix GridMap Navigation transforms and debug Fix GridMap Navigation transform changes and debug Jun 8, 2022
Fix GridMap navigation transforms and debug.
@smix8 smix8 force-pushed the navigation_gridmap_transform_debug_4.x branch from b2bf0d6 to cb8d95c Compare June 8, 2022 12:19
@akien-mga akien-mga added this to the 4.0 milestone Jun 8, 2022
@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 8, 2022
@akien-mga akien-mga merged commit 7e6f26c into godotengine:master Jun 8, 2022
@akien-mga
Copy link
Member

Thanks!

@smix8 smix8 deleted the navigation_gridmap_transform_debug_4.x branch June 8, 2022 13:45
@akien-mga
Copy link
Member

akien-mga commented Jun 9, 2022

Cherry-picked for 3.5.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 9, 2022
@akien-mga
Copy link
Member

Cherry-picked for 3.5.

Undone, there's no bake_navigation in 3.x and overall this looks like something worth a proper backport PR and testing.

@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 9, 2022
@akien-mga
Copy link
Member

@smix8 BTW are you on the Godot Contributors Chat? Would be convenient to discuss navigation fixes/roadmap for 3.5+.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants