Retargeted animation is rotated incorrectly and has hands misaligned

Hi everyone,

Please check this: https://playground.babylonjs.com/#88CB6A#195

I think there is two issues:

  1. There seems to be a root rotation offset. Maybe has something to do with the different root conventions between Mixamo and Accurig? Mixamo uses the hip bone as root whereas Accurig has, afaik, a dedicated root bone followed by the hip bone.

  2. See the hands of the avatar? They seem to have crossed each other. FYI: In the online Mixamo animation editor, there is a slider called “arm space”. I have seen this behaviour there and the solution is to manually adjust the slider value.

Best wishes
Joe

cc @Evgeni_Popov

The problem is that for retargeting to work correctly, the rest pose must exactly match between the avatar and the animation.

I updated the animation retargeting tool to work with your animation and avatar:

You can see that the orientation of the clavicles don’t match (and probably other bones too).

I tried to update some bone orientations of the animation and could come up with:

It’s not perfect, but it shows it’s possible to make the retargeting process work better by updating the avatar and/or animation rest pose.

Thanks @Evgeni_Popov for looking into this :slight_smile:

Ohh, ok!