Book Image

Unity Animation Essentials

By : Alan Thorn
Book Image

Unity Animation Essentials

By: Alan Thorn

Overview of this book

Table of Contents (14 chapters)
Unity Animation Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a controllable character


This chapter explains how to create a player-controlled character with Mecanim from the ground up. The character will begin in an idle-neutral pose, and with the use of the WASD keys, the character will walk, run, and turn on the spot as appropriate. The project here will begin from a specifically prepared Start project, included in this book's companion files. This project contains only a blank scene, an imported MakeHuman character model, and the native assets for character animations, included in the character assets package. These animations include walk, run, idle, and turn animations (as discussed in the previous chapter). They were originally intended for a different character model, but the Unity Avatar system allows us to retarget different animations to multiple models, as we've seen before.

Note

The Start project for this chapter can be found in the companion files inside the Chapter06/Start folder. The completed project can be found in the Chapter06...