How do I change:
this.ostronomicalUnit = system.sun.position.distanceTo(system.mainPlanet);
From sun to witchpoint? I'm gonna try witchPoint replacing sun. If that's wrong, please correct me, thanks!
Well, I'm curious. Did it work?
The distance from the arrival point in the system - the witchpoint - to the main station, expressed as a percentage
, seems like a good idea to me at the moment (having given it about 20 seconds thought
This is interesting. How should one define such measure?
The real AU is the approximate distance between Earth and Sun. So it would seem natural to define the unit in Oolite to be the distance between the main planet and the sun, as I have done. But if the sun is very far from the main planet, then OU distances would be very small. Fractions of 1 to be exact.
If one want's OU distances to be bigger numbers, then Rese249er's idea of wp-planet definition is very reasonable.
Percentages would fit very nicely into the numeric hud, but in different huds I think something would be lost in immersion.
I think that it does not really matter much, as long as there is a number running and it's different enough from any every day real world measurement.