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

Scene grabbables support #282

Merged
merged 13 commits into from
May 8, 2024
Merged

Scene grabbables support #282

merged 13 commits into from
May 8, 2024

Conversation

keianhzo
Copy link
Contributor

@keianhzo keianhzo commented May 2, 2024

This PR adds support for a grabbable component that will make that object grabbable in Hubs (Hubs-Foundation/hubs#6487). The object can be made capturable by a media frame if the media frame collision bitmask is enabled.

Ammo shape has also been deprecated (hidden) as part of this as it can be replaced by the physics shape component.

See Hubs-Foundation/blender-gltf-behavior-graph#16

@keianhzo
Copy link
Contributor Author

keianhzo commented May 2, 2024

@rawnsley In case you want to test/review

Copy link
Contributor

@Exairnous Exairnous left a comment

Choose a reason for hiding this comment

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

Sorry it took so long to get to this. I've left some inline comments, but I also noticed that:

  • Grabbable networked-object-properties components aren't being migrated to networked-transform components.
  • The rigid-body component doesn't import properly.
  • And ammo shapes can't be removed.

addons/io_hubs_addon/components/definitions/rigid_body.py Outdated Show resolved Hide resolved
addons/io_hubs_addon/components/definitions/rigid_body.py Outdated Show resolved Hide resolved
addons/io_hubs_addon/debugger.py Outdated Show resolved Hide resolved
@keianhzo keianhzo merged commit 87074ec into master May 8, 2024
6 checks passed
Exairnous added a commit that referenced this pull request Nov 26, 2024
Scene grabbables support was reverted in the Hubs client due to bugs and is now only present for the Hubs Client's addons branch and its behavior graphs add-on.  This commit removes the scene grabbables and physics support from the main Blender add-on to maintain compatibility with the current Hubs Client.  A corresponding commit to the behavior graphs Blender add-on adds support for scene grabbables/physics back into the behavior graphs Blender add-on so that the functionality isn't lost and can be used there.

Reverts "Merge pull request #285 from MozillaReality/fix-import-error-reporting"

This reverts commit 7eb5656, reversing
changes made to 87074ec.

Reverts "Merge pull request #282 from MozillaReality/scene-grabbables"

This reverts commit 87074ec, reversing
changes made to 3712349.
Exairnous added a commit that referenced this pull request Nov 26, 2024
Scene grabbables support was reverted in the Hubs client due to bugs and is now only present for the Hubs Client's addons branch and its behavior graphs add-on.  This commit removes the scene grabbables and physics support from the main Blender add-on to maintain compatibility with the current Hubs Client.  A corresponding commit to the behavior graphs Blender add-on adds support for scene grabbables/physics back into the behavior graphs Blender add-on so that the functionality isn't lost and can be used there.

Revert "Merge pull request #285 from MozillaReality/fix-import-error-reporting"

This reverts commit 7eb5656, reversing
changes made to 87074ec.

Revert "Merge pull request #282 from MozillaReality/scene-grabbables"

This reverts commit 87074ec, reversing
changes made to 3712349.
Exairnous added a commit that referenced this pull request Nov 26, 2024
Scene grabbables support was reverted in the Hubs client due to bugs and is now only present for the Hubs Client's addons branch and its behavior graphs add-on.  This commit removes the scene grabbables and physics support from the main Blender add-on to maintain compatibility with the current Hubs Client.  A corresponding commit to the behavior graphs Blender add-on adds support for scene grabbables/physics back into the behavior graphs Blender add-on so that the functionality isn't lost and can be used there.

Reverts "Merge pull request #285 from MozillaReality/fix-import-error-reporting"

This reverts commit 7eb5656, reversing
changes made to 87074ec.

Reverts "Merge pull request #282 from MozillaReality/scene-grabbables"

This reverts commit 87074ec, reversing
changes made to 3712349.
Exairnous added a commit that referenced this pull request Nov 26, 2024
Scene grabbables support was reverted (Hubs-Foundation/hubs#6515) in the Hubs client due to bugs and is now only present for the Hubs Client's addons branch and its behavior graphs add-on.  This commit removes the scene grabbables and physics support from the main Blender add-on to maintain compatibility with the current Hubs Client.  A corresponding commit to the behavior graphs Blender add-on adds support for scene grabbables/physics back into the behavior graphs Blender add-on so that the functionality isn't lost and can be used there.

Reverts "Merge pull request #285 from MozillaReality/fix-import-error-reporting"

This reverts commit 7eb5656, reversing
changes made to 87074ec.

Reverts "Merge pull request #282 from MozillaReality/scene-grabbables"

This reverts commit 87074ec, reversing
changes made to 3712349.
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.

2 participants