public ModelControl(string filename, bool create)
        {
            reflection = new Reflection();

            heightmap           = new Heightmap(1000);
            heightmap.MinHeight = -5f;
            heightmap.MaxHeight = 5f;

            useAileronForRudder = Convert.ToBoolean(Bonsai.Utils.Settings.GetValue("UseAileronChannel"));

            AircraftParameters parameters = new AircraftParameters();

            if (create)
            {
                parameters.CreateDefault(filename);
            }
            else
            {
                parameters.File = filename;
            }
            if (parameters.Version == 2)
            {
                iFlightModel = new FlightModelWind2();
            }
            else
            {
                iFlightModel = new FlightModelWind();
            }
            iFlightModel.AircraftParameters = parameters;
            iFlightModel.Heightmap          = heightmap;
            iFlightModel.Paused             = true;
            iFlightModel.Initialize();
            airplaneModel          = new AirplaneModel(iFlightModel);
            airplaneModel.Position = new Vector3(0, 0, 0);
        }