So I was following a tutorial on wall running, and I was doing the jumping bit. This jump acts like a thrust pack, where the second jump launches you forward in the direction you’re facing. I like the jump itself, but I wanted to make it a variable jump, where if I hold down the button, I jump higher. Think of 2D and 3D platformers how you can make precise jumps by holding down the jump button or tapping the jump button.
So I tried implementing that here, via timeline. When I tried to however, it just launches me forward like a rocket. I tried to add a Boolean to the code, but the results were the same. I also tried to bring in the “JumpMaxHoldTime” nodes in, but no such luck. Does anyone know how I can fix this?
Just to make sure, I’m working in UE4, but I also tried this in UE5. Works the same way there too, all be it with a couple of adjustments to the code.
Here is the edited blueprints on my end:
Here is the tutorial I was following. I’ll add the beginning and the jump code, just in case: