Aircraft with conventional landing gear are tilted back when at stop/low speeds on the ground, but then when they gain speed they pitch forward (so they're level). Is this because of increased speed and lift from the rear surfaces? I assume it's related to aerodynamics.
However when the aircraft is flying and stalls, doesn't it also pitch forward (nose down)?
This is confusing to me because why would it pitch backward (nose up) due to slow speeds on the ground but pitch forward (nose down) when at slow speeds in the air?
I obviously don't have any piloting experience. The reason I'm asking is I'm making an arcade-ish flying game and I'm using lift and gravity and other forces in the physics engine. I need to figure out why planes are behaving like that so I don't have to hardcode the plane on which way to pitch depending on whether it's on the ground or in the air.