I'm working on an add-on for a binary planet system.
I want to know how I would implement the orbiting system below.
Double planet orbits?
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: Double planet orbits?
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
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: Double planet orbits?
Last I looked, Pluto and Charon had a custom orbit.
Re: Double planet orbits?
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.
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