Let me describe the progress made so far:
- Imported an object using MTL loader and OBJ loader.
- Created SkinnedMesh using children[0].geometry from the object and the material results from the MTL loader.
- Generated skeleton data and bound it to SkinnedMesh.
Up to this point, the process has been successful. However, when I try to do object.add(skinnedMesh), it fails, saying there is no data for skinIndex, skinWeight, or matrixWorld.
How can I include the skeleton in the export to a GLTF file?