New method for scanning spacecraft and balloon-borne/space-based experiments