d4rkAvatarOptimizer
d4rkAvatarOptimizer copied to clipboard
Animations affecting transforms of objects that have had their parents removed are not updated properly
This issue occurs on the nardoragon base and probably others, but this is the only one I've seen doing this so far
there is a bone named "TailRoot" that is never moved from it's original position contains another object named "Tail1" which is moved.
there is a set of animations which rotate Tail1 but the avatar optimiser removes TailRoot so the animations that effect Tail1 have a significant offset since TailRoot had an X rotation of -85.743, which the optimiser correctly applies to Tail1, but not to the animations that affect it
Tail1 rotation pre-optimisation is X -24.335, post-optimisation is X -110.079, but the idle animation resets it to -24.335 causing this issue to occur (the tail is too high)
it should look like this:
You can disable the "Delete Unused Game Objects" option to have it not delete them as a workaround.
For a fix it seems like I have to keep the parents of transforms that get animated too.
This is fixed for the next version. You can download the main branch from here to get it right now.