SpaceCenter#
Provides functionality to interact with Kerbal Space Program: vessels and their parts, celestial bodies and orbits, flight control, maneuver nodes and the auto-pilot.
Example#
The following example prints the name of the active vessel:
using System;
using KRPC.Client;
using KRPC.Client.Services.SpaceCenter;
class SpaceCenterExample
{
public static void Main ()
{
using (var connection = new Connection ("SpaceCenter Example")) {
Console.WriteLine (connection.SpaceCenter ().ActiveVessel.Name);
}
}
}
Mods#
The SpaceCenter service supports several mods, such as Ferram Aerospace Research. The mods guide lists them, with the versions kRPC is tested with.