// record base rotations while the joints are still in T pose private void Awake() { // get rig's initial "look forward" rotations head.RecordBaseRot(); neck.RecordBaseRot(); chest.RecordBaseRot(); for (int i = 0; i < spine.Length; i++) { spine[i].RecordBaseRot(); } // init last weights lastHeadWeight = headWeight; lastBodyWeight = bodyWeight; }