Hi everyone,
May or may not be a bug: https://playground.babylonjs.com/#K1QFZD#5 (retargeting fails if avatar is rotated).
To fix, just zero the transforms before retargeting and revert afterwards. If it is a gltf model, rotation.y needs to be Math.PI.
Best wishes
Joe
It’s probably the same problem as here:
The rest pose must be exactly the same for the animation and the mesh for retargeting to work as expected.