- Home /
How to add additional scripts to an downloaded mecanim script
I'm new to scripting games. I want to know how to add new animations to a downloaded animator and controller script.
The animator does not have a jump animation. I added the animation but do not know how to add it to the script so it can be active in the controller.
Answer by tanoshimi · Jan 13, 2014 at 06:45 PM
The Mecanim animator controller is a state machine - you don't "add animations to a script" - you define states which are associated with one or more animation clips, and then define transitions between those states based on the value of parameters.
I suggest you watch this tutorial : https://www.youtube.com/watch?v=Xx21y9eJq1U
Thanks, I stated the question wrong but your answer helped.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to get length of animation in Mecanim? 1 Answer
Animation Impulse System? 1 Answer
How to fully reset mecanim? 0 Answers
For easy simple games, you can do without using Mecanim and instead just do it through Scripts? 1 Answer