- Home /
Animations don't work with humanoid avatars
My animations don't work if I use humanoid avatars. It works as generic, but not humanoid. It will play in the animation controller window, but won't play in the scene.
An empty state makes my avatar go into a weird pose, but any other animations just don't do anything.
I think everything is configured right for it, all the bones are assigned at the right positions, but my animations just wont play.
One animation is an eye blink, so my animation controller looks like this:
entry>eyeblink>empty state>eyeblink then it loops from eyeblink to empty state, and when its on empty state, it goes into that weird pose, like this:
and in eyeblink, it goes into the default pose, but the eyes dont blink. and the eye blink animation doesnt touch any of the other bones.
can anyone help?
and im using unity 5.6.7
edit - i solved a bit of it. in import settings under animation, i needed to set the mask to "create from this avatar", then under transform i checked all the boxes.
but now my code wont control bones anymore. im guessing my code will only work on bones that are unchecked, but all of the bones that i need to control with code are greyed out in the settings, and i cant uncheck them.
i do have an animation on those bones, would that be the cause? is there anything i can do to make my code over ride the animation?