Double planet orbits?

Post requests, images, descriptions and reports about work in progress here.
Topic author
Anima
Posts: 14
Joined: 11.01.2009
With us: 15 years 10 months

Double planet orbits?

Post #1by Anima » 24.07.2009, 19:06

I'm working on an add-on for a binary planet system.

I want to know how I would implement the orbiting system below.

Image

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

Re: Double planet orbits?

Post #2by Hungry4info » 25.07.2009, 12:46

Well, you could look at Pluto in the ssc file. It's got the information you need, just tweak the values a bit.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

Topic author
Anima
Posts: 14
Joined: 11.01.2009
With us: 15 years 10 months

Re: Double planet orbits?

Post #3by Anima » 26.07.2009, 09:53

Last I looked, Pluto and Charon had a custom orbit.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Double planet orbits?

Post #4by selden » 26.07.2009, 10:49

The concept is the same:

Define a barycenter (ReferencePoint in SSC files) orbiting the star, perhaps using an EllipticalOrbit.
Define the planets to be orbiting that barycenter.
Their orbits essentially have to be mirror images of one another, so the planets are always on opposite sides of the barycenter.
Selden


Return to “Add-on development”