The original position is a "fixed" orbit around Space Station V described by:
"Space Station V" "Sol/Earth-Moon/Earth"
{
Class "spacecraft"
Beginning "2001 01 01 12:00:00"
Mesh "stationV_new.3ds" # Jens's latest mesh - great detail
Radius 0.15 #150m radius generates lunar gravity at rim
EllipticalOrbit {
Period 0.063
SemiMajorAxis 6700 #200 miles altitude
}
Obliquity 90
RotationPeriod -0.017 #one minute rotation period
Albedo 0.10
}
"Orion" "Sol/Earth-Moon/Earth/Space Station V"
{
Class "spacecraft"
Beginning "2001 01 01 12:00:00"
Ending "2001 01 01 12:00:15" #Make it disappear when the flight begins
Mesh "orion2.3ds"
Radius 0.020
EllipticalOrbit {
Period 1.0e12
SemiMajorAxis 1.0 # 1 km
Inclination 90
MeanAnomaly -90
}
Orientation [180 1 0 0]
RotationPeriod -0.017 #matched with station
Albedo 0.80
}
I've tried generating an XYZ file with XYZ Builder, and adding the following to the .SSC file:
"OrionInFlight" "Sol/Earth-Moon/Earth/Space Station V"
{
Class "spacecraft"
Beginning "2001 01 01 12:00:15" # Appears when flight begins
Ending "2001 01 01 12:06:00" # Disappears when flight ends
Mesh "orion2.3ds"
Radius 0.020
#SampledOrbit "orionflightinterpolated.xyz"
SampledOrbit "fly.xyz"
Orientation [180 1 0 0]
RotationPeriod -0.017 #matched with station
Albedo 0.80
}
"OrionDocked" "Sol/Earth-Moon/Earth/Space Station V"
{
Class "spacecraft"
# Appears in the docking bay when flight ends:
Beginning "2001 01 01 12:06:00"
Mesh "orion2.3ds"
Radius 0.020
EllipticalOrbit {
Period 1.0e12
SemiMajorAxis 0.05
Inclination 90
MeanAnomaly -90
}
Orientation [180 1 0 0]
RotationPeriod -0.017 #matched with station
Albedo 0.80
}
but, the "OrionInFlight" object (controlled by the XYZ file) always appears about 0.99 AU's away and is moving much too fast relative to the Space Station.
I suspect it's to do with selecting the appropriate frames of reference when generating the XYZ, but I don't know the correct way to do this. Also I believe that XYZ's work in units of micro-light-yrs, so may not be accurate enough for this task, even if I can get it in the right place.
The other bits work perfectly, it's just the XYZ that doesn't work.
Can anyone offer any advice, or any other way to achieve what I want?
Another approach I considered is described here:
http://celestiaproject.net/forum/viewtopic.php ... highlight=
I'm getting desparate for a solution!