I put some animations from mixamo / blender in the babylon editor, I exported the final scene and assets and then I appended it to my scene, but when I try to animate one character, all the characters get the same animation.
Here’s what I’m using:
var character = scene.getMeshByName("mesh_name");
scene.beginAnimation(character, 0, 1450, true);
var character2 = scene.getMeshByName("mesh2_name");
scene.beginAnimation(character2, 0, 1300, true);
In this case above, character2 gets the same animation from character. Even if I don’t declare the character2, it gets the animation from character.
Am I missing some steps?
Thank you all
Edit: One thing I noticed is that when I use the Play Animations at the Babylon Editor in my Babylon Project, the meshes have different animations, but when I export the final scene and assets, all of the meshes get the same animation.
Just to be sure, are you using the Editor v3 or v4? I recently opened beta tests for the v4 and I highly recommand that you start working with the v4, especially if your project is not at an advanced state The Editor v4 has been made from scratch to be more stable/powerful.