Double planet

All about writing scripts for Celestia in Lua and the .cel system
Topic author
NuclearVacuum
Posts: 41
Joined: 15.09.2008
Age: 35
With us: 16 years 5 months

Double planet

Post #1by NuclearVacuum » 09.10.2008, 01:04

I wish to know the coding required to make a double planet system (similar to how Pluto and Charon orbit each other).
Я люблю экзопланет

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

Re: Double planet

Post #2by selden » 09.10.2008, 12:00

You should take a look at the definition of Pluto and Charon in Celestia's catalog file for the solar system: Celestia/data/solarsys.ssc
It's a plain text file.

Documentation for SolarSystemCatalog files is available on the MotherLode at http://www.celestiamotherlode.net/catal ... ation.html
and in the Celestia WikiBook at http://en.wikibooks.org/wiki/Celestia/SSC_File
Selden

Topic author
NuclearVacuum
Posts: 41
Joined: 15.09.2008
Age: 35
With us: 16 years 5 months

Re: Double planet

Post #3by NuclearVacuum » 10.10.2008, 13:43

Ooh, I got it. Is there a reason that there is no orbital plan for a double planet? When you look at the orbits of the other planets, the plane of a double planet is not shown, unless you click on it.
Я люблю экзопланет


Return to “Scripting”