public void RecalculateBindPoses() { for (int i = 0; i < num_bones; i++) { bindPoses[i] = bones[i].worldToLocalMatrix * mesh.gao.transform.localToWorldMatrix; } mesh.ReinitBindposes(); }