You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi~ I’m currently working with @react-three/fiber and ran into a confusion when trying to access a Blender Empty object (which I believe is just an Object3D in three.js).
Here's what I did:
I imported a .glb file with animations.
In Blender, I used an Empty (Plain Axes) object and parented a camera to it.
When I render the whole scene using:
<primitiveobject={scene}scale={0.2}/>
→ everything works fine, including the camera animation, which proves the Empty exists and has animation.
BUT, when I try to isolate that object using:
<primitiveobject={nodes["myEmptyObject"]}/>
or even:
<meshgeometry={nodes["myEmptyObject"].geometry}/>
→ nothing shows up. The object seems to be ignored entirely.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi~ I’m currently working with
@react-three/fiber
and ran into a confusion when trying to access a Blender Empty object (which I believe is just anObject3D
in three.js).Here's what I did:
.glb
file with animations.→ everything works fine, including the camera animation, which proves the Empty exists and has animation.
BUT, when I try to isolate that object using:
or even:
→ nothing shows up. The object seems to be ignored entirely.
Here’s the JSON structure I’m dealing with:
So I'm wondering:
nodes["myEmptyObject"]
return something renderable?<primitive>
directly onnodes["myEmptyObject"]
if it's not a mesh?My expectation was to keep the hierarchy but have more control on what gets rendered.
Thanks for your time~ o((>ω< ))o
P.S. I'm using:
@react-three/fiber
v9.1.2three
v0.175.0Update:
I realized the issue wasn't about loading the Object3D—it was actually working from the start!
Turned out the animation order was incorrect, so the movement didn’t play as expected.
After fixing that, everything worked just fine
Sorry for the confusion and thank you for your patience!
@maintainer If this discussion is too trivial or no longer relevant, feel free to archive or delete it. 🌸
Beta Was this translation helpful? Give feedback.
All reactions