Does gravity affect the trajectory of gas particles?
Yes gravity pulls on gas molecules. That is why the atmosphere doesn't just float off into space. 

The gist is that the time between collisions is very short in the lower atmosphere, and the distances very short. The mean free path at atmospheric pressure is only about 70 nanometers. So the assumption is that gas particles travel in a straight line between collisions.