Setup:
28x28 walkable interior area with sun centered (z=10). Celestials painted at module start time 't0' locations, establishing distance from sun "r" (since true scaled distances unworkable)
I'm assuming all orbits are circular, with orbital elements arbitrarily defined (though some some need be derived based on painted location).
So, Orbital Elements:
Eccentricy e0 = 0 (perfectly circular orbits for all, assumed
Semimajor axis a0 = r (derived from painted position as magnitude of vector sun->celestial)
Inclination i0 (derived from painted postion [x,y,z] where sin(i) = z/r
Longitude of Ascending node Ω0 (fixed, arbitrary ?)
Argument of periapsis ω0,= 0 (?)
Mean anomaly at epoch M0 = 0,
How can make the orbital predictions?
(additional source, from which I derived UI calcs)
If I can determine them, then I can determine whether or not they have moved enough to warrant respawmning (or moving) to new location. Additionally, I may need to perform a similar area heartbeat calc for faster moving objects, since a heartbeat may advance time by 1 day+.
Modifié par Boozehound Blue, 22 octobre 2010 - 07:59 .





Retour en haut






