Trajectories#

Provides functionality to interact with the Trajectories mod. Tested with Trajectories 2.4.5.5.

Example#

The following example prints the predicted impact position of the active vessel, in the reference frame of the body it orbits:

import krpc

conn = krpc.connect(name="Trajectories Example")
body = conn.space_center.active_vessel.orbit.body
print(conn.trajectories.impact_position(body.reference_frame))