Remember when you used the “Create New Clip” button of the “Animation” view ? Unity was in fact adding a state in the controller of the object, linked to the animation file you had created.Ĭlick on each state of the animator and rename them to remove the “Boss_” prefix:Īn “Animator Controller” is a state machine. You can see that we have some states (the rectangles) created automatically with our clips, plus a special one called “Any State”. You can double click on the controller file (“Animations/Boss”) to open the controller, or you can find it in the “Window” menu: Inside an animatorĪs it was not confusing enough, we need to open the window called “Animator” (and not “Animation” this time). Yet, it doesn’t matter here because we have a very simple object with no gravity. The “Apply Root Motion” should probably be disabled when using the animations the way we do in this tutorial. Options: the “Animator” component has some other options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |