コード例 #1
0
 void FinishTpose()
 {
     //更新T-pose
     for (int i = 0; i < passedJoints.Length; i++)
     {
         offsetPose[i].rotation  = offsetPose[i].rotation / offsetPose[i].jointID; //這邊ID做為counter使用
         offsetPose[i].rotation += originPose[i].rotation;
         originVec[i]            = offsetPose[i].rotation;                         ////////////////////////
         offsetPose[i].jointID   = 0;
     }
     MainManerger.EndTpose();
 }