Closed alan-w-255 closed 3 years ago
Hello @alan-w-255 thank you for the commit. Have you been able to test this with at least 2 mixamo characters with different armatures? The regex match is a good catch. But it's important to confirm the fcurves scales are good, the reason why it applies scales, rotation and scales is because most of the imported characters from there, armatures comes with issues that breaks when joining animations with it.
Yes, i have test 2 mixamo character, and each character has three actions. fcurve scaling to 0.01 works well. Joining animations scale every action's hip bone location fcurve to 0.01, but the code not get the hip bone because some mixamo characters hip bone names are not the same. Yes, i agree with that it should apply transform. if not apply transform , the charater's root motion is 100x in my test. The position offset is caused by location fcurves scale. It 100x the offset between rest pose and action pose.
while initializing character, there is an offset between rest position and object pose position.