-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Fix default collision shape on imported rigidbody #93506
Fix default collision shape on imported rigidbody #93506
Conversation
9b19bb7
to
ab0c974
Compare
Adjusted this so our default mode is "automatic" after a suggestion @Calinou made. This way we have our backwards compatibility in tact without needing to do weird interface changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compatibility breaking discussion in meeting.
Thanks! |
After discussing with @reduz , the functionality he was under the impression of existing was that we would use Trimesh as the default for static colliders, and Decompose Convex for dynamic colliders.
This does not seem to be applied.
This PR fixes the automatic creation of the collision shape if no value was saved to
shape_type
, however it does not embed the logic of changing it properly when you select the right option from the dropdown. Need some guidance on how this can be made to work in the UI here.