Пример #1
0
        void MapPair(RagdollBoneTargetBonePair pair)
        {
            Vector3    simulatedPosition = pair.RagdollBone.Transform.position;
            Quaternion simulatedRotation = pair.RagdollBone.Transform.rotation;

            pair.TargetBone.position = simulatedPosition;
            pair.TargetBone.rotation = simulatedRotation;
        }
Пример #2
0
 internal AnimatedPair(RagdollBoneTargetBonePair bonePair)
 {
     this.bonePair = bonePair;
 }