Grouping Meshes

I have 6 parts of an avatar with its skeleton which I have to load in a scene. I want the meshes to be grouped together and be attached to a single skeleton. How can I do it?

If the 6 parts use the same skeleton, then you can use Merge.MergeMeshes to create a single mesh from the 6 mesh parts and assign the skeleton to the result mesh.

1 Like

Hi @Evgeni_Popov! Each of the 6 parts have skeletons that are identical. How can I assign one skeleton and remove other?

You must first call newMesh = Merge.MergeMeshes([mesh1, mesh2, ...]) to create a single mesh from the 6 meshes, then assign the skeleton to this mesh: newMesh.skeleton = mesh1.skeleton.