I was wondering if anyone could help me out with my air dash setup for the 2D platformer game I’m working on.
So basically I’m trying to make an air dash where the player character can dash forward in a straight line for a short distance while in mid-air, similar to the Flash Shift from Metroid Dread or the air dash from the Mega Man X games.
However, right now my air dash instead results in the player character travelling in a downward arc, as I don’t know how to maintain the player character’s Z velocity at the same level for the duration of the dash.
Any ideas on how I can make concept work?