Game Development Reference
In-Depth Information
6. Next, we set up the transition from
fall
to
Locomotion
. So, let's right-click on the
fall
clip, choose
Make Transition
, and then click-and-drag on the
Locomotion
clip. Then, click on the arrow line to go to the
Inspector
view and set up the view
as follows:
Atomic
Uncheck the box
Conditions
Speed
Greater
0.1
MotionState
Equals
0
7. Also, we will create the transition back from
Locomotion
to
fall
. Go to the trans-
ition's
Inspector
view and set up the view as follows:
Atomic
Leave this checked
Conditions
MotionState
Equals
2
8. Next, we will set the blending time to
0
from
fall
to
idle
and from back
idle
to
fall
, as shown in the following screenshot: