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 applying wrong NavigationRegion transform #61797

Merged

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jun 8, 2022

Fix GridMap applying wrong NavigationRegion transform.

It was only applying the global_transform of the GridMap and the custom transform of the mesh_library navmesh to the region on the NavigationServer but not the cell position so all the navigation meshes were stacked on top of each other on the NavigationServer map breaking navigation with GridMap.

Part of #61293.

Fixes #56099

Fix GridMap applying wrong NavigationRegion transform.
@smix8 smix8 requested a review from a team as a code owner June 8, 2022 01:50
@akien-mga akien-mga added bug cherrypick:3.x Considered for cherry-picking into a future 3.x release topic:navigation topic:3d labels Jun 8, 2022
@akien-mga akien-mga added this to the 4.0 milestone Jun 8, 2022
@akien-mga akien-mga merged commit 43f05bd into godotengine:master Jun 8, 2022
@akien-mga
Copy link
Member

Thanks!

@smix8 smix8 deleted the navigation_gridmap_region_xform_4.x branch June 8, 2022 07:08
@akien-mga
Copy link
Member

Doesn't seem needed for 3.x, it's already this code there.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 9, 2022
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.

Godot 4 Gridmap navigation - agent ignores target and moves to Gridmap's origin instead.
2 participants