Closed keianhzo closed 6 months ago
I ran into this error when testing a scene with two grabbable cubes (one with the media frames collision mask, one without), a plane with a physics shape set to convex hull for the floor, and a media frame set to all objects; this was exported using the new PRs to the add-ons for this feature:
mediaLoaderObj is undefined
./src/bit-systems/media-loading.ts/mediaLoadingSystem/<@https://hubs.local:8080/assets/js/hub-86783bd68c802e0becf6.js:7122:5
mediaLoadingSystem@https://hubs.local:8080/assets/js/hub-86783bd68c802e0becf6.js:7113:32
mainTick@https://hubs.local:8080/assets/js/hub-86783bd68c802e0becf6.js:65147:82
./src/app.ts/setupRenderer/</</<@https://hubs.local:8080/assets/js/hub-86783bd68c802e0becf6.js:3732:74
onAnimationFrame@https://hubs.local:8080/assets/js/engine-f7f00df9e9582890925b.js:33685:59
onAnimationFrame@https://hubs.local:8080/assets/js/engine-f7f00df9e9582890925b.js:19340:16
I couldn't reproduce this on my end, maybe we can take a look at it at the Meetup.
I ran into this error when testing a scene with two grabbable cubes (one with the media frames collision mask, one without), a plane with a physics shape set to convex hull for the floor, and a media frame set to all objects; this was exported using the new PRs to the add-ons for this feature:
Sure, we can check it at the meetup.
Strange. I can't reproduce it now either.
This PR adds support for grabbale objects in Hubs. Now using the grabbale component (https://github.com/MozillaReality/hubs-blender-exporter/pull/282) Any scene object can be grabbable and capturable by a media frame.
Related https://github.com/MozillaReality/blender-gltf-behavior-graph/pull/16