/** * This methods sets this armature in its bind pose (aligned with the mesh to deform) * Note that this is only useful for debugging purpose. */ public void applyBindPose() { for (Joint joint : rootJoints) { joint.applyBindPose(); } }
/** * Sets the local transform with the bind transforms */ protected void applyBindPose() { jointModelTransform.applyBindPose(localTransform, inverseModelBindMatrix, parent); updateModelTransforms(); for (Joint child : children.getArray()) { child.applyBindPose(); } }