1、Enter the data asset and add an element
Add a tag for the anim layer to the first element key value
Then add an element under the AnimSet of Value to specify the anim state
So this is the jog state under the unarm animation layer Anim Layer And State
2、Then add the corresponding Data Module
3、
First, add the Idle module,
which includes the animation settings for idle, idle break, and turning in place Idle Anim Set
Anim Notify when setting up a turn in place ANS_Basic_Turn_Rotation
4、After setting up the Idle module, proceed to set up the start animation module Start Anim Set
The first two are the starting points for directional movement mode. You can choose either 4 or 8 directions, and I am using 4 directions here
Then set the starting animation for velocity direction mode
5、Then add cycle animation, looking direction mode. Here, select 4 directions, and set the animation after setting it. Animation in the velocity direction mode, and finally create a tilted blend space during motion Cycle Anim Set
6、Next, set up the stop animation module, which is looking direction and velocity direction respectively Stop Anim Set
7、Next, set up jumps, including velocity direction jumps in place, direction jumps in place, velocity direction velocity jumps, and finally looking direction velocity jumps Jump Anim Set
Coming to the direction looking velocity jump, here is a 4-direction jump that requires specifying 4 animations
7、Set the aim offset module again Aim Offset Anim Set
8、Then there is the character config module, looking direction and velocity direction Character Config
9、Then there are the Orientation Warping and Stride Warping modules, which can be directly copied and pasted here Orientation Warping Stride Warping
10、Next is Upper Body Layered Blend, modified according to your own needs Upper Body Layered Blend Per Bone
11、Finally, the settings for IK IK Config
12、Make different states according to requirements
13、Then create an animation blueprint to inherit ABPT_ TNT_ Locomotion, this animation blueprint includes animation blueprints for climbing, gliding, and more.
14、After creation, go to the character blueprint and specify the corresponding animation blueprint
15、Add the following two functions after BeginPlay
16、Add Movement Input