Closed enijar closed 3 years ago
i think meshes must be skinnedmeshes and materials must have the skinned prop or it cant work.
<skinnedMesh
material={materials.skin}
material-skinned
geometry={nodes.skin.geometry}
rotation={[Math.PI / 2, 0, 0]}
scale={[0.01, 0.01, 0.01]}
/>
but i don't know much about skinning. just make sure you are working with the exact same setup you would work with if that were plain threejs.
Appologies if this is the wrong place to ask this, but I'm a bit stuck.
I have a situation where I have many GLTF files that use the same bones and animations, so I have explored the bones and animations as an FBX file to save space (instead of duplicating the animations and bones across all my GLTF files).
I tried to follow this approach but that only uses a GLTF file.
Is it possible to do this?
My code looks something like this: