I want to link the root bone to the skined mesh, but unfortunatelly 3ds max don´t let me do so, it shows some billsh*t about dependency loop. If I am linking the root bone to a mesh without skin and adding skin modifier after that there is no problem. However I don´t want to do all the skin weights from scratch. I tried something like this:
mySkin=myMesh.modifiers["skin"] deleteModifier myMesh (myMesh.modifiers["skin"]) myBone.parent=myMesh addModifier myMesh mySkin
The code can have a lot of errors, since I am writing from memory. After execution of this code the root bone is linked to mesh, but the weight table is mising, so I have to make it again from scratch. Is there a way to make a copy of the old weight table and apply it to the mesh again?