As per title or maybe another suggested approach would help with the following problem I am having:
Basically I have a jump animation for my character that jumps on release of the spacebar. The setup is while holding the spacebar the character is in a crouched state ready to launch. You can see this video for an example of the problem and my blueprint setup:
If the space key is hit “too soon” while still in jump motion the character jumps again but doesn’t play the animation loop. I believe it’s an anim clash or something between the jump land animation not completing before jumping again… So I figured being able to disable the input with a delay to use again or something would work but I just can’t figure out how to make that happen or work another approach. Can your superior brains please help?
Well that makes sense but I just can’t my head around setting that up. Turns out I need two DoOnce nodes. (I think)
I have got as far as this - https://i.imgur.com/oIIKzc7.png
I thought utilizing the eventOnLanded with a delay followed by a sequence and then two branch nodes to control each DoOnce would do the trick (even if it were just to test) but it still is broken.
I can upload another video example if need but a problem still persists… It still needs me to press the space key after that delay to register the anim_LaunchJump Boolean or else she just gets launched into the air walking if we were to accidently hold the space key in that delay period. I am very noob at this. This will eventually eveolve into a charge jump so I need this release jump to work seamlessly or gain a good understanding of it.
Nevermind I solved it.
I just had to add a transition rule between the jump landing animation and the crouching animation (pressed jump key).
I couldn’t transition to the starting state of the jump cycle (the crouch before release) because I wasn’t in “Idle” it was still playing the jump land animation. Therefore, when hitting the space bar immediately after landing it had yet to move to idle state, my transition rule between Idle and Jump Start couldn’t happen.