예제 #1
0
 public void RecalculateBindPoses()
 {
     bindPoses = new Matrix4x4[num_bones];
     for (int i = 0; i < num_bones; i++)
     {
         bindPoses[i] = bones[i].worldToLocalMatrix * Gao.transform.localToWorldMatrix;
     }
     mesh.ReinitBindposes();
 }