Dive mechanic in midair
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!
asked Mar 02 '19 at 03:08 PM in Blueprint Scripting
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.
answered Mar 02 '19 at 03:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here