a coffee script to blend any mocap animated squeleton with IK one . Here the test is made on a Quidam skinned character . This tool blend 2 source squeletons ( IK and Mocap ones ) with a target one ( the Quidam one ).
so you just D&drop the root of each chain into the fields. you adjust the average angles of either the sources on the target or either target on the sources . you define the Nbre of parts into the chains , you lock and here we go , offsets have been recorded .
of course it could look a bit complicated , but it doesn't use any rotation retargeting (local rotations transferts), but use rotation parenting (take into account the position/rotation offsets ), so you can import and use any bone/joint orientation , that's the main goal.
this could not be usefull too if you have only one shot mocap to do (just put manually parent constraint tags that way ) .. but only if you have several mocap animation to do or if you have to mix an IK-mocap animation.
One thing is limiting here is the nbre of parts of each squeleton .. you can't use a "6 spine bones" mocap file with a "4 spine bones" quidam file for example etc .maybe a next update/improvment of this could pay attention to that .