0 votes

if I use .stop() before playing new one, it doesn't have blending, how can I start new one but blend from what's playing right now?

in Engine by (130 points)

1 Answer

0 votes

Hey there,

In order for blending to occur, you need to blend from one animation to another, meaning they both need to be playing in order to blend. Otherwise you're simply blending an animation onto a 'pose'. In which case to achieve something like that you can possibly blend it using a looped animation of a single pose with beginning and end keyframes.

Without knowing your whole project, your best bet, imo, would be to use a BlendTree from the AnimationTree node. You can make a animations blend together using it's Blend2 or Blend3 node and control the amount of blend in the parameters.

by (356 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 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 webmaster@godotengine.org with your username.