I am trying to code animation retargeting.
As you can see in the image below, I have 2 skeletons.
One is a human running, the other a cartoon frog.
My objective is to allow the frog to run using the animation from the other model.
Currently I tried detecting bones with same name in the two skeletons, and just copy bone translations&rotations from the running skeleton to the frog skeleton.
This is not enough though, the frog moves, but the animation is incorrect
Both skeletons have different number of bones. I would like this code to support different number of bones, since it would make porting animations from one model to another way easier.
Anyone has experience on this?