Cloned model rotating problem


In my game I have several players. I didn’t want to load the same model, so I decided to load model once and clone it each time new player joins. The problem is, cloned model doesn’t rotate. My model is ogre-mesh with animation (clone model does animation).


I was storing models in array, now I’ve changed it to separate objects.

Previously it was like this:


this.model[0] = model[0].clone();

this.model[1] = model[0].clone();


Now it is like this:


this.model[0] = bodyModel.clone();

this.model[1] = headModel.clone();


Now it is working fine.