This is my first time posting because usually I find everything in the documentation (really excellent, by the way). I have a scene with four worms in it and they are all individual meshes with skeletons. I manually removed three of them from the babylon file to reduce the file size and I recreate them as clones later but it seems like I am having difficulty attaching the skeletons to them. Can someone direct me to the documentation on how to attach a skeleton to a mesh? What is currently happening is that all of the worms are locked in the same skeletal position (not being animated) and doing something like
worms[0].clone('worm4');
worms[3].skeleton = scene.getSkeletonById(2);
does nothing. I should note, worm1 is using skeleton id#0, so that is not the cause. I also found a Mesh.applySkeleton() method that I tried and that also did nothing. Am I missing a step? Nothing is frozen at all, either.