- Home /
Why is my animation not working?
The problem is that it moves it's position, but say for example, it is supposed to jump; all it does is move up and down and it is still in the T-position.
It is a humanoid model, it has an animator, the animation is marked as 3, and I don't know what else to tell you. This was an asset from the asset store, and the animations came with it. So any ideas on what to do? I suspect that there's a problem with the animator controller but that's all I guess. The controller has an avatar, update is set to normal and culling is based on renderers.
I think that maybe I should forgo using the humanoid and maybe get everything to legacy, or use the animation component as if it were not a humanoid model. Let me know what you think
How are you setting the animation to run in mecanim? In your example of jumping are you passing a bool to tell mecanim to run the jump animation?
O$$anonymous$$, if you get an animation that should loop and run the game without "$$anonymous$$aximize On Play" select your character in the hierarchy and open the animation tab. Can you see the that animation looping through?
Should look a bit like that.
yes, $$anonymous$$e is orange because it is set to default. The problem is that it stays in it's T-position; my last resort had to be to re-import and start everything all over again. It didn't solve the mystery, but at least it's working. I'll post this as an answer I guess
Answer by JA_555 · Jan 24, 2015 at 08:23 PM
I re-imported my asset and although it didn't solve the mystery, everything is working now. My theory is that it had something to do with the rigging or the baking of the animation.
Re-import was going to be my next suggestion if you didn't see something like that image but, hey, you worked it out yourself. I think the import can, occasionally, screw up. Seen it before myself.