Dive mechanic in midair

I don’t know how to get the direction the player character is looking

if thats the only issue then you can just use the actor forward vector. or if you want the way the camera is facing then you could use the get control rotation and work from that rotator.

AAAAAAA
I’ve been trying this for the past few hours and I’ve finally given in and asked the answer hub.
How do I make a mechanic where when I press LShift in midair, it sends the character flying forward a bit in the direction it was facing before, much like in A Hat In Time, when pressing the crouch button in air. (I know aHiT was made in ue3 so looking at the code probably wouldn’t help me if I was able to look at it) I’ll be able to add a way so you can’t infinitely jump and controller inputs myself, my problem was the directional thing. I don’t know how to get the direction the player character is looking and apply that to the dive.
I am using Unreal 4.19 and the third person template. Thanks for any help!

Thanks! But, how do I move the player forward from that, then?

Thanks so much for the help! I’ve only used Unreal for 4 or 5 months so far, but I’ve been experimenting with the different templates. I’ve settled on third person now, and the answer hub is really helpful for this kind of problem!

thats up to you really. you could use physics like the launch character or add impulse. Or timelines to have a consistent movement. or you could use some other method of your choice.

below is a few examples of how it could be done. note the timeline is a 0-1 value over 0.25 seconds.

im partial to the third person as well. The answerhub is a good resource to find answers since most questions youll have have been asked before.