Saturday, 12 July 2014

2.The Animator Controller

13:03 Posted by Unknown No comments
What is Animator Controller

Animator Controllers are state machines that determine which animations are currently being played and blends between animations seamlessly.

How do i open the Animator Controller?


Right click at project view

Right click any place in Asset view
 How do i open the Animation?

At window

Double click at any animation asset
The Animator Controller Window will contain :

  • Mecanim State Machines


Mecanim's Animation State Machines provide a way to overview all of the animation clips related to a particular character and allow various events in the game (for example user input) to trigger different animations.
State Machines consist of StatesTransitions and Events and smaller Sub-State Machines can be used as components in larger machines.

  • Animation Parameters
Animation Parameters are variables that are defined within the animation system but can also be accessed and assigned values from scripts. For example, the value of a parameter can be updated by an animation curve and then accessed from a script so that, say, the pitch of a sound effect can be varied as if it were a piece of animation. Likewise, a script can set parameter values to be picked up by Mecanim. For example, a script can set a parameter to control a Blend Tree.

Default parameter values can be set up using the Parameters widget in the bottom left corner of the Animator window. 
  • Vector - a point in space
  • Int - an integer (whole number)
  • Float - a number with a fractional part
  • Bool - true or false value

0 comments:

Post a Comment