I can't get my animations to work, what is this new animator controller?

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?

I had that same problem. I do not have Unity on this PC so I will try to tell you how to go through this from what I can remember :slight_smile: Do this:

Click on your model in the Project panel. Then go to the inspector and go to the “Rig” tab. There should be a drop down with one item called “Legacy”. Select that and then click on “Apply”. This could make your model use the old system.

Hope it works for you :slight_smile: