示例#1
0
 // Use this for initialization
 void Start()
 {
     anim          = GetComponent <Animator>();
     iHandIkSolver = GetComponent <IhandIkSolver>();
     iLookIkSolver = GetComponent <IlookIkSolver>();
     iFootIkSolver = GetComponent <IfootIkSolver>();
     foreach (IikBase ib in GetComponents <IikBase>())
     {
         iIkBases.Add(ib);
     }
 }
示例#2
0
 private void applyIkResult(IhandIkSolver iis)
 {
     if (iis.isEnabled() == false)
     {
         return;
     }
     leftHandIkPos  = iis.getLeftHandIkPos();
     leftHandIkRot  = iis.getLeftHandIkRot();
     rightHandIkPos = iis.getRightHandIkPos();
     rightHandIkRot = iis.getRightHandIkRot();
 }