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
Question

2 Comments

  • Log in to leave a comment
  • Profile image
    490 OverFlow

    @plane918273645 thanks, that really helped!

    4.5 years ago
  • Profile image

    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

    +1 4.5 years ago

No Upvotes

Log in in to upvote this post.