I want my new rocket to automatically goto the moon by using the vizzy, so I'm stuck at the apoapsis/periapsis part, how can I go further?
Tags
Question2 Comments
- Log in to leave a comment
-
18.0k plane918273645
I can’t be bothered to give you the entire code you need, but this is some of the steps.
-Make sure it’s perfect orbit (~1km apo,peri difference)
-get position of the bodies, and get angle of them
-Do a check for -/+ only use the one that gets an orbit
-set up a calculated burn for perfect Apoapsis height
-time warp to soi change
-time warp to periapsis and do a calculated burn
No Upvotes
Log in in to upvote this post.
@plane918273645 thanks, that really helped!