Are you using vectors or angles? Jumping and gravity only affects the Y component of player movement and acceleration vectors.