I am trying to build a react app that would load a gltf asset in a function which would allow it to become a reusable jsx component.
The inspiration and documentation for how this is done can be found here:
https://github.com/pmndrs/gltfjsx
I believe I have followed all the right steps, however I am only able to get 1 stick figure to populate, as opposed to 2.
The codesandbox can be found here:
https://codesandbox.io/s/gltfloader-forked-5nkzl?file=/src/App.js
Any help would be immensely appreciated.