From twiddling about with blueprint so far I suspect that I will just have to break down and code it in C++, but I figured I would ask for help before giving up on blueprint.
I would like a simple charge jump, if the keyboard is pressed, the character performs a short hop, if its held for a few seconds then on release the character jumps significantly higher.
Sounds easy enough.
Unfortunately I can’t seem to find any way of setting the character’s velocity to, well, anything. I can’t find a pre-made function in blueprint that does this, nor can I find a way to set the pawn’s velocity directly.
Instead I have found Set Actor Relative Location, which more or less works, but is instantaneous, and well doesn’t really feel like ‘jumping’.
My blueprint is set up like so:
Both bShouldSweep and bLanded are set to true by default.
Anyone come across a set velocity function? or some other way to pull off what I am trying to do?
Also, why do Set Actor relative Location and Set Actor Location seem to do the same thing? I would imagine the first would treat the new relative location, well relative to its current location.
Is there any way to set the characters move type to falling so they actually fall back towards the ground, instead of floating there until they move again?