Getting ready

Before we start, you should have a character with at least three looped animations: idle, walk (in place), and run (also in place). You can download the provided example; open the project in Unity and go to the Chapter 04 Character movementRecipe 01 Using blend trees to blend walk and run animations folder. You will find a scene called Example.unity there, with an animated humanoid character. If you play the game, you can click on the ground to move the character, and if you press Shift while moving, the character will blend to run animation smoothly. In the Rigs directory, you can find the Humanoid.fbx asset with the required animations.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.151.107