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

Update TileMap to use new navigation polygon baking #82465

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Sep 28, 2023

Updates TileMap to use new navigation polygon baking from #80796.

(Note: TileMap can only be baked from TileMap Layer0)

Fixes TileDataEditor error when building Godot with deprecated=no since NavigationPolygon make_polygons_from_outlines() is depr.

Baking the TileMap cell navigation polygons should eliminate cases where users by accident place 10+ vertices stacked up hidden in the same TileMapEditor corner breaking the mesh.

Replaces some old NavigationServer3D includes no longer necessary as the NavigationServer2D has received the same debug functions and is needed for the navmesh baking anyway.

Updates TileMap to use new navigation polygon baking.
@YuriSizov YuriSizov merged commit 0b7ff75 into godotengine:master Sep 28, 2023
15 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

@smix8 smix8 deleted the tilemap_navmesh_bake_4.x branch September 28, 2023 19:02
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