+4 votes

I am confused with the "blend" and "add" node in animation tree

What is the difference betwen them?

Thank you.

in Engine by (249 points)

2 Answers

+4 votes
Best answer

When blending you replace one animation with other, at 0 it is 100% the first animation and at 1 it's 100% the second animation.
When adding you define how much of second animation is in first animation, so at 0 it is 100% first animation and at 1 it is 50% each one.
You can use blending for transition (from walk to run, idle to attack, etc.) and with add you can create new animations (walk+injured->injuredwalk)

by (1,002 points)
selected by

This is answering another question I had, but how is add set to 1 is different to blend set to .5? I thought Add will really add the two animations together and not set them to 50% first.

It's the same result as you found. Maybe the name should be Mix and not Add. I don't use ADD because it looks like you need to create animations in specific ways to make the adding effect to work. I don't know what you want to achieve but you could try using a blend node and some filters

0 votes

It is how many animations you want to blend. The Blending acts like a lerp, so at 0.5 of Blend2 each of the 2 animations will have 50% blending.

Blend3 each of the 3 animations will have roughly 33.33% of the blend.

Blend4 each of the 4 animations will have 25% of the blend.

by (1,494 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.