How do I set different animation states for a 2D sprite character?
I have watched all 2D character animation tutorials I could find and the Idle, Running and Falling Animation (which are explained in this tutorial series for example) work fine for me. Now I would like to add more animations with their own triggers.
I have divided the jump into 3 parts:
So leaping and landing would be the additional animations..
I can't think of conditions that could trigger the leaping and landing animations and also end them correctly. So far I have tried several different setups.
For landing I have tried to use the "Event on Landed" Node with a "Break Hit Result" this works for the initial landing but overrides the idle animation and won't stop. For "Leaping" I have tried the "Pressed Jump" variable and also a configuration that checks the "z" vector this also resulted in the animation not stopping.
I get how it is logical for Running to check the velocity vector and for Falling to check the Falling state but I don't get how I can trigger an animation from only a certain event and stop it right after playing it once. I would really appreciate some help here, thanks!
asked Sep 04 '15 at 03:36 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here