Different animationGroups for clones from one mesh and its skeleton

Hi the BABYLON JS community !
Nowadays I try to animate two meshes, with their skeletons (all of them cloned from one single mesh and its skeleton), but with two differents animations.
However these two clones keep sharing the same animation. I have tried to rename the linkTransformNode of the seconde clone, but they still move in the same way
Here is my playground

I want to target the 1st clone with the “mouvtTube1” group and the 2nd clone with “groupMouvClone”

(I applied a negative scale on the second clone to see him)
Thank you very much in advance !

Or more simply : is it possible to apply different animations to clones from the same mesh ?
thank you in advance !

Hello and welcome!

You need to clone animations as well. More info and examples in this thread - After cloning a mesh, how can animations be played individually for each mesh?

1 Like

It works fine!
Thank you very much !

Hi Labris and others !
I managed my goal by using containers then reseting the transformNodes linked to each bone :
cloneTube2.skeleton.bones[i].linkTransformNode(
new BABYLON.TransformNode(“bone”+i)
)

Have a nice day !

1 Like