So I’ve just started working on a 2.5d sidescroller, and I’ve more or less set up my basic movement and animation.
Through quite a bit of trial and error I finally set up a jump with a variable height, but there’s one minor issue I can’t seem to fully diagnose: the variable jump only works when the character is moving, ie. walking. When standing still, you can’t vary the jump height.
Here’s my blueprint:
I think I’ve diagnosed the problem, but don’t know how to fix it. For some reason, the “launch character” node isn’t firing when standing still.
I just don’t understand why, as there’s nothing in the code about horizontal movement. Maybe it’s something to do with the Z override? Is there a different/better way to set the Z velocity to 0?
I should also go on record that I’m an artist, not a programmer, so knowledge is limited, especially since this is my first time using Unreal and Blueprints.