Call animation using input keys
I am a noob to node based programming. So please bare with my ignorance. I have consumed a ton of info on this topic before resorting to asking for help here.
I need to be able to press the 'A' key, and have my character play a strafing animation.
Here are some images of my character animation blueprint
and my character bp event graph
To be clear, my character moves absolutely fine, it's just his strafe animation that won't play when he strafes. His jump animation works perfectly because I copied everything there straight from an unreal tutorial. Also, his strafe animation plays fine if I make true the default for the bool 'Is Strafing Left'
I would really appreciate any input/advice.
asked Nov 11 '16 at 03:20 AM in Blueprint Scripting
Hi Mate, this tutorial should help you: https://www.youtube.com/watch?v=2YQH_ADNkXE
Instead of using the Punch animation you obviously want to use the Strafing Left and right animation, then I guess just follow the rest of the tutorial, you may find that if you press the button and your not moving the animation may still play but you wont be moving, if that does happen you will probably need to make a Strafing idle animation and make an animation which kind of states when in Strafing left or right but not moving play idle animation this is just a quick sketch, but there the fundamentals. Hope that helps.
answered Nov 11 '16 at 12:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here