Hello friends:
I have a .glb file with animations.
It has 4 animations: ‘Walk, Sitdown, Idle, Standup’.
I cloned multiple model files in the scene,
hoping that each would play a different animation. Do you have any ideas?
Such as making character 1 walk、 Character 2 sitdown、 Character 3 idle at the same time.
You need to clone animationGroups too and retarget them to corresponding nodes.
Here is the example how simple it could be with the AssetContainer and instantiateModelsToScene function - https://playground.babylonjs.com/#AJA5J6#184
thank you sir,
and I have another problem:
How to get from the Mesh what are the corresponding animations?
I need to get the model first ,and then play the animation of the name in the model。