public static void LoadOrbit(CelestialBody body)
        {
            var orbit = new PFOrbit();
            if(!orbit.Load(body.name))
                return;

            var parentBody = PFUtil.FindCB(body.name);
            if (body.orbitDriver != null)
            {
                body.orbitDriver.orbit = new Orbit(orbit.inclination, orbit.eccentricity,
                    orbit.semiMajorAxis, orbit.LAN,
                    orbit.argumentOfPeriapsis, orbit.meanAnomalyAtEpoch, orbit.epoch,body.orbit.referenceBody);// parentBody);

                body.orbitDriver.UpdateOrbit();
            }
        }
 public PFBody(string name, string templateName, int flightGlobalsIndex, PFOrbit orbit,
     localUpdateDelegate localUpdate)
 {
     this.name = name;
     this.templateName = templateName;
     this.orbit = orbit;
     this.localUpdate = localUpdate;
     this.flightGlobalsIndex = flightGlobalsIndex;
 }