In this chapter, we have learned how to set up the animation from a 3D model and we also learned a bit about how to export the model with animation from 3D Studio Max to use in Unity. Then, we used the
CharacterController script to our character and added the built-in
Third-person Controller and
Third-person Camera to apply it to our character and make it move.
Next, we created our
CharacterControl script to control our character and add the fall animation that we want to use for our character. We also learned how to use the
Move() function in the
CharacterController script, and how to speed up or slow down the animation clip by setting the speed of the clip. We also learned how to use
Animation.crossFade() to cross fade ...