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

Change 2D navigation mesh baking to use floating point coordinates #89929

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Mar 27, 2024

Replaces internal uses of Clipper2 integer structs to their floating point equivalents.

Resolves #87138.

Note that the float structs are slower because they need to up- and downscale everything to an integer grid.
In turn this avoids baking problems caused by geometry layouts with sloppy float decimal points.

Replaces internal uses of Clipper2 integer structs to their floating point equivalents.
@akien-mga akien-mga merged commit 4e46e9a into godotengine:master Apr 24, 2024
16 checks passed
@akien-mga
Copy link
Member

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.

Tilemap editor adds extra pixel for odd numbered tile resolutions
4 participants