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

Add functions to get axis-aligned bounds of navigation regions #101505

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jan 13, 2025

Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.

Needed for internals but also added to the server api because users asked about it multiple times. It is rather slow to always (re)calculate in scripts on more complex meshes.

@smix8 smix8 added this to the 4.5 milestone Jan 13, 2025
@smix8 smix8 requested review from a team as code owners January 13, 2025 19:11
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks clean and simple

Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.
@akien-mga akien-mga modified the milestones: 4.5, 4.4 Jan 14, 2025
@akien-mga akien-mga merged commit a69ccee into godotengine:master Jan 14, 2025
20 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.

3 participants