Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set landing_arc to 97.//experimentally determined value
- set ksc_longitude to -74.8.
- set ship_omega to constant:radtodeg * sqrt(ship:body:mu/ship:orbit:semimajoraxis^3).
- set body_omega to constant:radtodeg * 2*constant:pi / ship:body:rotationperiod.//compensating for the rotation of kerbin
- set arc_remaining to (ksc_longitude-landing_arc-ship:longitude).
- if arc_remaining < 0 {set arc_remaining to arc_remaining + 360.}
- add node(time:seconds+arc_remaining/(ship_omega-body_omega), 0, 0, -80).
- run exec.
- run landing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement