Simplify Apollo LEM Model Rotation - Allows using IdleBehavior to orbit around up (#2916)

* Simplify Apollo LEM Model Rotation and allow using IdleBehavior to orbit around up-vector

* Add rotation values from Carter
This commit is contained in:
Emma Broman
2023-11-09 11:18:45 +01:00
committed by GitHub
parent 49106c336e
commit 709cb24bbb
2 changed files with 14 additions and 2 deletions

View File

@@ -22,6 +22,12 @@ local Apollo11Lem = {
Latitude = 0.67402,
Altitude = -1927.65,
UseHeightMap = false
},
Rotation = {
Type = "GlobeRotation",
Globe = moon_asset.Moon.Identifier,
Longitude = -360+23.47306,
Latitude = 0.67402,
}
},
GUI = {
@@ -42,7 +48,7 @@ local Apollo11LemModel = {
Renderable = {
Type = "RenderableModel",
GeometryFile = lem_model .. "LM-2_ver2clean.obj",
RotationVector = { 91.044090, 171.229706, 111.666664 },
RotationVector = { -90.0, 283.86999, 0 },
LightSources = {
sun.LightSource,
{

View File

@@ -21,6 +21,12 @@ local Apollo17Lem = {
Longitude = -329.22833,
Latitude = 20.19092,
UseHeightmap = true
},
Rotation = {
Type = "GlobeRotation",
Globe = moonAsset.Moon.Identifier,
Longitude = -329.22833,
Latitude = 20.19092,
}
},
GUI = {
@@ -43,7 +49,7 @@ local Apollo17LemModel = {
Type = "RenderableModel",
GeometryFile = model .. "LM-2_ver2clean.obj",
SpecularIntensity = 0.0,
RotationVector = { 110.255219, 171.229706, 126.666664 },
RotationVector = { -90.0, 283.86999, 0 },
LightSources = {
sun.LightSource,
{