hey, a pleasure to be in this community, I’m new to BABYLON.
MY GOAL
I’m making a web game where players’ meshes are different but share the same set of armature bones and the same set of animations(sit, walk, idle…etc). I want to load meshes and animations separatly in order to save performance from loading large mesh+animation files and save the work of pairing animations to all player mesh variations.
WHAT I TRIED
I was trying to load various meshes( .glb files w/ different details, w/ same armature, w/o animation) with the meshLoader and then load their animations(.glb files without mesh) through the animationLoader. However, animationLoader adds all animation to the scene’s animation group and I cannot re-assign them to new targets(like here).
I looked through the animation documentation and many playground demos, but hardly find a way to do so. https://playground.babylonjs.com/#40TC2G#13 seems somewhat helpful, but I don’t know how to transfer my animation into key values in a JSON.
Any help would be appreciated! Thank you so much!
ps. 3D tool I used is Blender