You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2018. It is now read-only.
Getting the vector from a vessel to a body at a specific time
Let's say you want a vector from your vessel to a specific body, at some specific point in the future. For example, from your craft to the Mun, 10 minutes from now.
set v to bodies:mun:positionattime(time + 600).
set u to ship:positionattime(time + 600).
set w to u - v.
// w is your vector
lock steering to w.
wait 600.
// your vessel should now point directly at the body