Is possible to use two animation in parallel?

Godot Version

4

Question

Hi guys.
I have a player sprite that has to move in 4 directions (top, down, left, right) each direction has an animation:
idle, run, idle attack, run attack.
I have independently animated arms, legs, head and body.
I need to attack while running.
The problem is that every time I run and attack, the run attack animation is executed but the legs animation resets (obviously).
So the question is it possible to merge two animations of running and attacking without the leg animation starting from 0?

It is using Animation Tree. With Blend2 nodes you can blend two animations together. You can use the filters to make each animation only affect certain body parts.

1 Like

Just use two AnimationPlayers, one for upper body and one for lower body.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.