示例#1
0
        //private Vector3 debugPos1;
        //private Vector3 debugPos2;
        //private Vector3 debugPos3;
        //private Vector3 debugPos4;

        private void Write()
        {
            solvedPositions[0] = rootBone.solverPosition;
            solvedRotations[0] = rootBone.solverRotation;
            spine.Write(ref solvedPositions, ref solvedRotations);

            foreach (Leg leg in legs)
            {
                leg.Write(ref solvedPositions, ref solvedRotations);
            }
            foreach (Arm arm in arms)
            {
                arm.Write(ref solvedPositions, ref solvedRotations);
            }
        }