Download

Jumping conflict with falling

Hello there
I’m making a 2D game which it’s infinite runner
I have a filpbook animation for the running and a flipbook animation for the falling
Here’s the problem
When my character jumps it assumes it as falling
How should i make it correct?

Just a thought. Can you get get the upwards vector, and set a bool or run a branch.

Narg

if (is Falling and GetVelocity.z<0) -> is falling
else ->is jumping

this template may help you
http://bit.ly/1JkSaqg

I don’t know how to do that
I’m new in unreal

here’s my blueprint according to your help

result still the same :frowning:

awesome template
thanks

Thanks, helps me a lot!