Page 1 of 1

Topic about calculation factors (days - years, km - AU, etc.)

Posted: 09.11.2023, 14:46
by EarthMoon
How many days are one Earth year in Celestia? I found many definitions in the web: 365, 365.25, 365.2425, 365.24219052, 365.2563604167, 365.259635864, but which of them is the one Celestia uses?

Posted: 09.11.2023, 15:41
by SevenSpheres
For values in ssc files where the unit is years, 1 year is exactly 365.25 days. Celestia's date calculation is of course more accurate than this.

Posted: 09.11.2023, 15:51
by EarthMoon
Ah ok thx

Posted: 20.11.2023, 16:43
by EarthMoon
If SSC's EllipticalOrbit SemiMajorAxis units are AU, how many km are one AU?
[Renamed this topic to prevent a flood of new topics; this is one "Wiki" for calculation factors]

Posted: 21.11.2023, 21:19
by SevenSpheres
1 AU is 149597870.7 km, searching Celestia's codebase confirms that this is the value used.