示例#1
0
文件: Vector3.cs 项目: pipi1226/krpc
    public static void Main()
    {
        var connection = new KRPC.Client.Connection();
        var vessel     = connection.SpaceCenter().ActiveVessel;

        KRPC.Client.Tuple <double, double, double> v = vessel.Flight().Prograde;
        Console.WriteLine(v.Item1 + "," + v.Item2 + "," + v.Item3);
    }
示例#2
0
    public static void Main()
    {
        var connection = new KRPC.Client.Connection();
        var vessel     = connection.SpaceCenter().ActiveVessel;

        KRPC.Client.Tuple <double, double, double, double> q = vessel.Flight().Rotation;
        Console.WriteLine(q.Item1 + "," + q.Item2 + "," + q.Item3 + "," + q.Item4);
    }