Duplicate SkinnedMesh from another FBX SkinnedMesh, but the replicated SkinnedMesh is not displayed

The screenshot is the copied SkinnedMesh. I found that its bones data is empty, but I don’t know what to do.please help,thank you

how do you copy your skinnedMesh? Can you provide some of your code?

I used the clone function of SkinnedMesh,like this:
var skinMesh1=new THREE.FBXLoader().parse(fileData);
var skinMesh2=skinMesh1.clone();
skinMesh1 is the result of the FBXLoader parse function

sorry I had the wrong approach, I guess I can’t help you there.

Thank you so much

Cloning SkinnedMeshes is not supported so far. You might want to use the code of the following PR in order to achieve what you are looking for.

1 Like

SkeletonUtils.clone() will be available in the examples with the next release R103 :tada:

Use it when you have to clone an instance of THREE.SkinnedMesh().