FixTransforms() public method

public FixTransforms ( ) : void
return void
Ejemplo n.º 1
0
        public override void FixTransforms()
        {
            if (!initiated)
            {
                return;
            }
            if (IKPositionWeight <= 0f)
            {
                return;
            }

            spineMapping.FixTransforms();
            for (int i = 0; i < limbMappings.Length; i++)
            {
                limbMappings[i].FixTransforms();
            }
            for (int i = 0; i < boneMappings.Length; i++)
            {
                boneMappings[i].FixTransforms();
            }

            if (OnFixTransforms != null)
            {
                OnFixTransforms();
            }
        }
Ejemplo n.º 2
0
 public override void FixTransforms()
 {
     spineMapping.FixTransforms();
     for (int i = 0; i < limbMappings.Length; i++)
     {
         limbMappings[i].FixTransforms();
     }
     for (int i = 0; i < boneMappings.Length; i++)
     {
         boneMappings[i].FixTransforms();
     }
 }