Yes, I haven’t used unity in quite a while, and I have know idea how to do animations any more. I made a character in blender and it was set up in the “T” pose of where I modeled it and I wanted to have it’s arms down. In blender I made an animation for when it’s standing still and I named it idle, so I wrote this script:
Void Update {
if(Input.GetAxis("Vertical") == 0) {
animation.Play("idle");
}
}
I then got an error that the animation idle was not attached to the game object. Then I tried to attach the animation again and it made me make an animation controller, what? So I figured out how to put my animation in it and it played it when I played the game, so I was cool with that but when I added the walking animation it screwed everything up. Also, I still can’t access it through script and I still get an error saying it’s not attached to th game object. I want the idle script to play when he’s not moving and the walking when he is but I don’t understand this new controller. So how do I access the the different animations in the controllers through script and can you explain this controller and the avatar thing to me in stupid man terms?