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

Rotation of Tile with Navigation mesh using editor causing invalid Polygon data for the mesh #92125

Open
phill44-source opened this issue May 19, 2024 · 2 comments

Comments

@phill44-source
Copy link

Tested versions

Reproducable in 4.2.2 stable

System information

Godot v4.2.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (Advanced Micro Devices, Inc.; 31.0.24002.92) - AMD Ryzen 5 2600X Six-Core Processor (12 Threads)

Issue description

when rotating a Tile with at least one point deviating too much from a simple enough shape (unsure) causes the Engine to bake the navigation mesh of the Tile incorrectly.

grafik
In This picture, at the top there are the preconfigured navigation meshes of the tiles, in the lower ones the formers are rotated using the inbuilt tool.

Steps to reproduce

-Make a Tilemap
-Set the Navigation mesh of a Tile, while deviating from a simple shape, preferably sharp/a lot of corners
-Place the tile, rotated

Minimal reproduction project (MRP)

Test-project.zip

@phill44-source phill44-source changed the title Rotation of Tile with Navigation mesh using editor causing imperfect rotation of the mesh Rotation of Tile with Navigation mesh using editor causing imperfect baking of the mesh May 19, 2024
@phill44-source
Copy link
Author

New addition of an Error:
image

@phill44-source phill44-source changed the title Rotation of Tile with Navigation mesh using editor causing imperfect baking of the mesh Rotation of Tile with Navigation mesh using editor causing invalid Polygon data for the mesh Jun 1, 2024
@libklein
Copy link
Contributor

libklein commented Jun 9, 2024

I can confirm that this is in fact a bug. See the linked PR for details.

@AThousandShips AThousandShips added this to the 4.3 milestone Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants