air jumping

I need my character to be able to jump in the air (like flappy bird) but it always looses momentum every jump.


keypress jump--------------and--------motion

if jump min:1 max:30---------and----------add -1 to jump

Use servo control for motion if you’re using logic bricks, then set the x and y to 0 while setting the z to whatever force you want the character to jump at.