Game Development Reference
In-Depth Information
of the animation. Let's set up the transition from
fall
to
idle
; set
Inspector
as fol-
lows:
Atomic
Uncheck the box
Conditions
Speed
Less
0.1
MotionState
Equals
0
Also, we need to create the transition from
idle
to
fall
; set
Inspector
as follows:
Atomic
Uncheck the box
Conditions
MotionState
Equals
2
14. Next, we will create another transition from
fall
to
walk
; set
Inspector
as fol-
lows:
Atomic
Uncheck the box
Conditions
Speed
Greater
0.1
IsRun
false
MotionState
Equals
0
Now, the transition from
walk
to
fall
; set
Inspector
as follows:
Atomic
Uncheck the box
Conditions
MotionState
Equals
2
15. Then, the last transition from the
fall
clip. We will set it from
fall
to
run
; set
In-
spector
as follows: