public void Save(PreviewHand hand) { attachPosition = hand.transform.localPosition; attachRotation = hand.transform.localRotation; fingerRotations = hand.GetJointRotations(); }
public void Save(PreviewHand hand) { // Save position and rotation attachPosition = hand.transform.localPosition; attachRotation = hand.transform.localRotation; // Save rotations from the hand's current joints fingerRotations = hand.GetJointRotations(); }