Clone mesh and keep skeleton position

With the sample below, please help me clone the mesh(the plane) and keep the skeleton position the same original mesh.

I would do it with the help of container.instantiateModelsToScene() function - https://playground.babylonjs.com/#AJA5J6#137

3 Likes

Just wanted to add that each model has its own animationGroups array which makes it easier to find the right animation group, rather than using scene.animationGroups. :slight_smile:

2 Likes

I just want to clone the mesh no animationGroups

I have the model and I resize it by skeleton(bones), after that, I want to clone the model resized, but when I use the mesh.clone() function then I get a new model with the original size(old size)

With the below sample then the expected result is: Propellor will have position.y = 10

Could you tell if this example of cloning and scaling is good for you? - https://playground.babylonjs.com/#AJA5J6#143

Hello @sonmai7195 just checking in, was your question answered? :slight_smile:

Thanks @carolhmj my issue is resolved.