/** * Saves the current Armature state as its bind pose. * Note that the bind pose is supposed to be the one where the armature is aligned with the mesh to deform. * Saving this pose will affect how skinning works. */ public void saveBindPose() { //make sure all bones are updated update(); //Save the current pose as bind pose for (Joint joint : jointList) { joint.saveBindPose(); } }