Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
McArdellje opened this issue Oct 18, 2022 · 2 comments

Comments

@McArdellje
Copy link

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

@d4rkc0d3r
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants