eldany.uy
(eldany.uy)
October 22, 2022, 3:21pm
1
Hi! I have an animation blueprint of a bird with a state machine.
It has 3 states:
Idle, Flapping and Cheering like this:
Each state has a skeletal animation on it and the state machine jumps from state to state with a ‘state’ variable.
The thing is that I want to control the flapping speed of the ‘flying’ animation depending on the gameplay.
I’m not finding a way to access flapping animation.
Besically I want to control this:
Any help?
Mind-Brain
(Mind-Brain)
October 22, 2022, 4:00pm
2
Hey eldany.uy!
Since I don’t know what value you want to use, I’m going to use Velocity Z. Whatever you use, it needs to be getting updated on the Eventgraph during the AnimUpdate, much like character velocity or speed in the templates!
And this is what it will look like. However, you can drag in any float variable and do some math first if you want, now that the pin is exposed
Let us know if you hit any snags!
eldany.uy
(eldany.uy)
October 22, 2022, 4:05pm
3
No way! I feel stupid, LOL…didn’t even seen those BIND buttons.
Thanks a lot @Mind-Brain !! Now I can control it
Cheers!
Dany
1 Like