Jump to content

Calculating orbits


Kaputtnik

Recommended Posts

Hello all,

I am new here and currently trying to get the hang of plugin developement for KSP and have done my first steps in creating a scenario module and its running fine so far. Now I have the problem of a lack of documentation for the API an before I waste time trying and failing, over and over again, I wanted to ask you for help.

I currently get orbit information from FlightGlobals.Vessel and FlightGlobals.fetch.VesselTarget. But those are in reference to the current main body of the vessel and the target.

How would calculate an orbit of a vessel around a body, where I would suppply the vessel and body. Is there a way to do that?

And how would I calculate the Ascending an Descending Nodes of two orbits (vessel and target). They are displayed in the map view. But I really have no idea where to find those values.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...