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

Expose GeometryInstance3D.custom_aabb property #70114

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

clayjohn
Copy link
Member

Follow up to #70087
As discussed in #57740

set_custom_aabb() was added here #25520 at that time reduz suggested exposing the property and Akien noted that we could add it in a follow up PR

Setting a custom_aabb allows the renderer to avoid the expensive mesh_get_aabb() function which recalculates the aabb from skeleton bones. To fully address usability needs we should add some editor functionality to create an appropriately sized AABB. But that is future work, I will need to create a proposal

@akien-mga akien-mga merged commit 7972107 into godotengine:master Dec 17, 2022
@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.

2 participants