Example #1
0
 public void Initialize()
 {
     ApiAircraftParameters       = AircraftParameters.CloneToApiParameters( );
     ApiModel.AircraftParameters = ApiAircraftParameters;
     rhoSurface               = _AirDensity * ApiAircraftParameters.WingArea / 2;
     rhoVerticalSurface       = _AirDensity * ApiAircraftParameters.VerticalArea / 2;
     gravityMass              = _Gravity * ApiAircraftParameters.Mass;
     ApiModel.OrientationQuat = Quaternion.RotationYawPitchRoll(0.0f, 0.0f, 0.0f);
     ApiModel.Initialize();
     StartModel();
 }