Humanoid animation using Unity
Animations are the core component of any game. Without them, a game is just a sequence of pictures and the user will have no idea of what's going on in the game. We learned about animations in Chapter 2, Finishing the Perky Penguin 2D Game, for our 2D game, Perky Penguin, to control the animations of a penguin and lasers using state machines and controllers. But, when it comes to 3D, things get a lot more complicated to manage and handle. The reasons for this complexity varies depending on what kind of animations we want to create and manage in Unity, but generally creating character animations such as walk cycle or running cycle takes a lot of effort and cannot be made in Unity. These animations need more details and are developed in advanced tools such as Autodesk Maya, 3D Studio Max, and so on. In this section, we will not discuss how these animations are created, as it is beyond the scope of this book, but we will discuss how these animations are imported...