0 votes

I have an Attack animation, a Walk animation, and three Idle animations.
I am trying to set up an animation tree to deal with them all.
I have the three idle animations in a 1D blend so I can choose a random animation by setting the parameter
but how can i reenter Idle to play the next animation?
i cannot seem to transition to self...
So I handled the AnimationFinished and set new random number and restart or travel to idle but nothing happens
https://bitbucket.org/henrysoftware/pixelmob
is it possible to use animation blending to choose a random animation? like unity?

in Engine by (1,672 points)

1 Answer

0 votes
Best answer

https://gotm.io/henry-software/pixelmob

you need to call a function from a function track in the animation to set a random value for the blend parameter

by (1,672 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.