Hi! I’m quite new to Unreal and i’d love some help in implementing a dash in a top down game.
I currently have a dash that launches the character in the direction that they’re moving, based on their velocity. The problem with this implementation however is that if then mid-dash, dash again while looking in the other direction, it once again dashes the character in the previous dash direction, even if i’m looking the other way.
I’m guessing this is cause I still have velocity in the previous direction, so it just adds on to that velocity in the same direction.
I’d instead like to create a dash where the dash completely resets the character’s velocity and movement from the previous dash, so that I can dash back and forth in different directions in a snappy way, mid jump!
Here is the current blueprint:
Any help would be appreciated!