UE4/5 animation series (2. How to set templates)

Table of contents

Elephant set template

Animation synchronization (this is synchronized in the template):

speed limit:

Through the wall problem:


We have already made a basic template before:

UE4/5 animation blueprint template production and set template (1. Template production)

Elephant set template

Create a sub-blueprint of the previously created character blueprint:

Then put the elephant in:

Add this at the beginning, so that the following child bones can move with the main bone:

Set up the capsule body:

Then create the animation blueprint of the elephant, which is the template I made before, and then specify it:

Enter the elephant animation blueprint, the most important thing to change is:

Then put the default animation in, and then there is a need to start the root movement (if there is a problem with the movement, start it) .

The feet may be suspended here, so the animation is produced synchronously

Animation synchronization (this is synchronized in the template):

The first is to find the walk animation that turns right:

then the left foot

 

Then do this for each animation (so that when you switch animations, you can find out if there is such a thing in another animation according to your right foot, and then mix [form a synchronous effect] [make sure you are stepping on your left foot Finish stepping on the right foot])

speed limit:

Make changes according to your needs

Through the wall problem:

For unknown reasons, it is necessary to open the simulated physics on the capsule body component, and then close it, so that the collision under it will occur (set the size of the bone)

Then we get the bones of the elephant in different places in the tick, and then set its position and rotation as the position and rotation of the collision body.

At the same time, set the collision preset of the capsule to custom, and pawn ignores it, so that the small animal can pass through the bottom of the elephant.

Guess you like

Origin blog.csdn.net/q244645787/article/details/131367211