Page 1 of 1

Eagle Lander code

Posted: 28.01.2003, 14:17
by Darkmiss
Can anyone modify this code for me
so that my Eagle luna lander doesn't move along the moons surface
so it looks as though it has landed

"The Eagle Has Landed" "Sol/Earth/Moon"
{
Mesh "Eagle-Landed.3DS"
Radius 0.010
Beginning "1969 7 16 09:32" # Launch
Ending "1969 7 24 12:55" # Return

EllipticalOrbit {
Period 0.9973092
SemiMajorAxis 1738.579946736
Eccentricity 2.401E-4
Inclination 5.1256
AscendingNode 71.4915
ArgOfPericenter 88.1162
MeanAnomaly 55.1046
Epoch 2452362.13431638
}

Albedo 0.10
}

Posted: 28.01.2003, 17:20
by chris
Here's a partial fix:

Code: Select all

EllipticalOrbit {
    Period 27.321661
    SemiMajorAxis 1738.579946736
    AscendingNode 71.4915
    ArgOfPericenter 88.1162
    MeanAnomaly 55.1046
    Epoch 2452362.13431638
}


I got rid of the eccentricity and inclination, and set the period equal to the moon's rotation period of 27.321661 days. This does maintain a fixed position relative to the surface of the Moon. But, you can only place the lander on the equator . . . If the inclination is something other than zero, the latitude will vary even though the longitude is constant. There needs to be a better way to do what you want to do. One idea is to introduce a new orbit type:

Code: Select all

SyncOrbit {
    Latitude 47.5
    Longitude -122
    Altitude 0.120
}


It seems like it would be very useful . . . I'm just not sure that SyncOrbit is the right name.

--Chris

Posted: 28.01.2003, 21:40
by Darkmiss
Thanks Chris,
It has stopped moving now, but it is upsidedown ?

Posted: 28.01.2003, 22:02
by chris
Darkmiss wrote:Thanks Chris,
It has stopped moving now, but it is upsidedown ?

That's easy to fix . . . Add the following line:

Orientation [ 180 0 1 0 ]

That will rotate it 180 degrees about its y axis (though any axis would work).

--Chris

Posted: 28.01.2003, 22:47
by Darkmiss
:D Thank you

Posted: 30.01.2003, 07:17
by Borg Collective
Where can
we download Eagle Lander?

Posted: 30.01.2003, 12:19
by Guest
Follow the thread 'Doug Gann's lem model'

Posted: 31.01.2003, 00:02
by Darkmiss
Borg Collective wrote:Where can
we download Eagle Lander?



here it is http://www.bt.homepage.btinternet.co.uk/Files/Space-Shuttle.zip