Animator Controller

Our player character now has a couple of his animations ready to go! He has the ability to walk, jump, and stand idle. In time, he will also have the ability to take damage, collect health, and any number of other behaviors we might want to add. With the Animation Component, you can drive all of these, but a better solution is the Animator Controller.

The Animator Controller takes into account events and variables and helps control where and when blending occurs between these behaviors. Using a nodal workflow, it lets you see how each animation affects the next animation, and it lets you control how they blend and which animation takes precedence. On top of this, scripting is used to tell the controller when these new events ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.