[Unity game development tutorial] Zero foundation takes you from Xiaobai to Super God 27 - mixed state, mixed animation, animation classification

empty state

Create a new empty state in the controller state machine
insert image description here
and add different animations to this empty state to achieve the same effect as we did before
insert image description here

blend state, blend animation

Realize a walking and running effect

Create a new blend state
insert image description here
, set it as the default state of the layer, and double-click to open it. The
insert image description here
blend type is 1D, which is controlled by a Float parameter by default. If you have a Float parameter, it will be used by default. You can choose to add a new Float parameter called Blend
insert image description here
Add walking animation and running animation separately
insert image description here

Guess you like

Origin blog.csdn.net/qq_36303853/article/details/129805368