Change Orbit Color

I've been working on a script to determine which planets fall within a star's Green Zone and change the color of their orbits to green so they stand out. However, I cannot seem to find the property I need to edit in the API. A assumed it would be off of either the Body or Orbit objects but so far I've not found anything that looked suitable.

Comments

  • Okay, after a bit of experimentation, I found that the Body class has an undocumented OrbitColor field that accepts an RGB generated number.

Leave a Comment