Game Development Reference
In-Depth Information
Classified intel
From this project, we have learned many things about how to set up the animator controller
including
Blend Tree
. So, what is
Blend Tree
?
Blend Tree
Blend Tree
is a very powerful state that allows us to blend multiple animations smoothly
by using the blending parameters. For example, we can blend the
walk straight
,
walk left
,
and
walk right
states by using the
Direction
setting as a blending parameter, or we can get
a bit crazy by having two
Blend Tree
settings for the
run
and
walk
clips. Then, each clip
will have its own
Blend Tree
setting to control the direction of the animation, as we can
see in the following screenshot:
We can also set the
Blend Type
parameter in
Blend Tree
from
1D
to
2D
for advanced set-
ting by using two parameters to check for the blending of states, as we can see in the fol-
lowing screenshot: