How Can I add a new mesh to the animation of glb object?

Hi All,

I want to add my handler to the animation of the shutter of the cabinet, Can I do that?
Or Can I add it to the shutter to get the animation?

image

image

What you are trying to do is an unusual workflow. Normally, you prepare all animations in a DCC tool like Blender, export to glTF, import via THREE.GLTFLoader and then just playback the animations.

The problem is that animations make certain assumptions about their animated objects. E.g. the initial transformation or that certain name or ID properties have specific values. If you try to reuse an existing animation with a different object, things can easily break or behave unexpectedly.

1 Like

Thank you very much @Mugen87 .