d4rkAvatarOptimizer icon indicating copy to clipboard operation
d4rkAvatarOptimizer copied to clipboard

Animations affecting transforms of objects that have had their parents removed are not updated properly

Open McArdellje opened this issue 2 years ago • 1 comments

This issue occurs on the nardoragon base and probably others, but this is the only one I've seen doing this so far image 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) image it should look like this: image

McArdellje avatar Oct 18 '22 19:10 McArdellje

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.

d4rkc0d3r avatar Oct 18 '22 23:10 d4rkc0d3r

This is fixed for the next version. You can download the main branch from here to get it right now.

d4rkc0d3r avatar Nov 10 '22 18:11 d4rkc0d3r