Exemple #1
0
        private void ScanLocation()
        {
            var grav = navigationSystems.RemoteControl.GetNaturalGravity();

            grav.Normalize();
            var targetLoc = CurrentOrder.PrimaryLocation - (grav * hoverHeight);

            navigationSystems.HoverApproach(targetLoc, 30, hoverHeight, trackingSystems.GetAltitudeIncDir());
            navigationSystems.AlignUp(targetLoc);
            navigationSystems.AlignAgainstGravity();
        }