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

Physics: Add support for merging collision groups. #1947

Merged

Conversation

eoineoineoin
Copy link
Contributor

Description of Change(s)

When merging assets from multiple sources, it's desirable in some
scenarios that we wish to merge physics collision groups. This adds
support for optional user-provided identifiers which allow such
merging. We also add an option to invert the selection of filtered
groups, which can be used to create colliders which opt-in to
collisions, rather than the default behaviour of having to opt-out.

Additionally, added a utility function which will calculate a table
indicating if two groups collide as well as tests for said utility. This
utility can be used in authoring use-cases to provide feedback for
content creators as well as providing a reference which can be used to
validate an implementation.

Fixes Issue(s)

  • [ X ] I have submitted a signed Contributor License Agreement

When merging assets from multiple sources, it's desirable in some
scenarios that we wish to merge physics collision groups. This adds
support for optional user-provided identifiers which allow such
merging. We also add an option to invert the selection of filtered
groups, which can be used to create colliders which opt-in to
collisions, rather than the default behaviour of having to opt-out.

Additionally, added a utility function which will calculate a table
indicating if two groups collide as well as tests for said utility. This
utility can be used in authoring use-cases to provide feedback for
content creators as well as providing a reference which can be used to
validate an implementation.
@sunyab
Copy link
Contributor

sunyab commented Jul 18, 2022

Filed as internal issue #USD-7490

@pixar-oss pixar-oss merged commit a024497 into PixarAnimationStudios:dev Sep 12, 2022
@tallytalwar
Copy link
Contributor

Hi @eoineoineoin

The PR is merged to the dev branch, with couple of minor updates: a024497. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants