Making multiple instances of an animated character in react three fiber

Solution 1:

You might need to use clone on the nodes,

you can use the package @react-three/drei to simplify the import a bit

drei npm

here is an example from multiple instances of skinned meshes working :

https://codesandbox.io/s/react-three-fiber-wildlife-nrbnq?file=/src/Model.js

You can also use the package gltfjsx so you dont have to wory about your model file it will be generated the right way by gltfjsx :

gltfjsx npm

i'll gladly update my post if you have any additional questions