Hi. I’m a new Unreal Engine 4 user. I’m trying to make a character for a dungeon-crawler game, and am struggling to make a functional dodge/roll mechanic. The character can roll in 3 directions (left, right, and forward) and can hop backwards as a fourth dodge.
my current dodge funtion changes the player’s max walk speed while dodging. However, the player is able to stop moving at any time during the dash and travel in other directions during the dodge animation, which looks unrealistic. How could I code an event that sends the character in the direction they’re walking in, and during that time, the player cannot influence the movement of the character? There are no dodge tutorials that address this specific issue, so i’ve been trying to figure this out myself for an hour already.