0 votes

Here is a picture of the blend and how I set it in code: https://pasteall.org/pic/ea77da470877451fa8c85b7bfb93a5eb

I have an idea why this might be happening but, I rather ask someone who has more experience then me, so when I set the animationtree in my code say to 1 instead of blending between 0 and 1 it just sets it into instantly too 1, do I have to interpolate between these numbers or is there a better way!

Godot version 3.2.3
in Engine by (164 points)

1 Answer

+2 votes
Best answer

You are correct, you need to interpolate the blend amount to have a smooth blending, or you could use a transition node instead of a blend one and set the xfade time and have automatic blending

by (1,002 points)
selected by

one last question! Thanks for the idea on using the transition one instead of blend, can you provide me with the code to activate the animations that the transition is using?

Here you can check some videos

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.