we have 20 different models in .glb with 1 animation and all auto-rigged from mixamo.
Now, we want to create a animation-library and add it next to the model to our bablyon.js project, so the model loads his animations from this separated file.
The background is, if we add 100+ animations to the model, it will grow to 50-100mb and loading time will be much higher in the beginning. Furthermore, we would need to add new animations to each of the models separately in blender, rather then giving all 20 models a shared animation-lib.
I tried adding two
BABYLON.SceneLoader.ImportMesh into each other, load the animation files from the second model to animate the first model. But only the second model was doing the animation. Also, both models were visible at the same place.
Any idea how to do this?
thanks for the help!