For the past week, I've been working on the flight model and the physics of the plane.
It's now possible to add weights in the airplane to change its center of gravity by simulating fuel tanks, pilots, passengers...
I also wanted to revamp the flight model, so I started looking around for some docs about the calculation of lift and drag on an airplane. I found out that my system was still far from the actual thing... I was missing a lot of input variables like the wing ratio, the wing span and I didn't have proper lift coeficient/angle of attack data.
I also added two different sources of drag, the lift-induced drag, and the parasitic drag. By using proper values, it should defintitely make things way more realistic!
To debug all this, I had my "vectors" drawn at the position of the wings, but that was not enough. For example, the plane starts jittering at some point and the vectors don't give me any sort of time indication of when this effect starts... So I implemented a little graphics system to display the lift and drag values in real time and see their evolution.
I'll start using it intensively this week end to find out where the jittering is coming from...
Screenshots of the debugging system