0
votes

I have two characters with the same bone(binding in Maximo). but each joint's position and rotation are different. (the small one and the big one) is there a way to get the difference between two characters' joint percentages?

here is the first one

enter image description here

second one

enter image description here

How can I calculate the joint's percentages between two of them (position and rotation)?

i try the code fellow, but now work

for (int i = 0; i < alljoint.Count; i++)
    {
        percentages[i] = Characterone[i].transform.position / Charactertwo[i].transform.position;
        percentages[i] = Characterone[i].transform.rotation / Charactertwo[i].transform.rotation;
    }