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
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.

None yet

2 participants