I’m working on a function which is supposed to retarget an AnimationClip of my source character to the target character. My target character has fewer bones than my source character. I used the following ThreeJS example by mrdoob as a reference for my method:
I use SkeletonUtils.retargetClip to retarget the animation of my source character. I use a retargetOptions array to assign the bones of my source rig to my target rig. After I apply the method my target character is twisted and rotated.