Make the co-rotating trail longer

This commit is contained in:
Malin E
2022-08-17 09:02:36 +02:00
parent 91513fafca
commit 08fa825381
2 changed files with 4 additions and 4 deletions
@@ -134,8 +134,8 @@ local JWSTTrailCoRotOrbit = {
Kernels = { kernels .. "webb.bsp" }
},
Color = { 1.0, 0.663, 0.157 },
Period = 182.621099, -- About 6 months
Resolution = 183 -- About a sample rate of once per day
Period = 365.242198, -- About a year, 2 orbits. 1 orbit would be 182.621099 (6 months)
Resolution = 365 -- About a sample rate of once per day
},
GUI = {
Name = "JWST L2 Co-rotating Orbit Trail",
+2 -2
View File
@@ -73,12 +73,12 @@
"script": "local list = openspace.getProperty('{planetTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end local moonlist = openspace.getProperty('{moonTrail_solarSystem}.Renderable.Enabled') for _,v in pairs(moonlist) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end openspace.setPropertyValueSingle('Scene.MoonTrail.Renderable.Enabled', true)"
},
{
"documentation": "Toggle JWST launch, cruise and orbit trails, not the Sun trail",
"documentation": "Toggle JWST launch, cruise and L2 co-revolving orbit trails, not the Sun trail",
"gui_path": "/JWST",
"identifier": "profile.toggle.jwst_trails",
"is_local": false,
"name": "Toggle JWST trail",
"script": "local list = {'Scene.JWSTTrailLaunch.Renderable.Enabled', 'Scene.JWSTTrailCruise.Renderable.Enabled', 'Scene.JWSTTrailOrbit.Renderable.Enabled'}; for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)); end"
"script": "local list = {'Scene.JWSTTrailLaunch.Renderable.Enabled', 'Scene.JWSTTrailCruise.Renderable.Enabled', 'Scene.JWSTTrailCoRotOrbit.Renderable.Enabled'}; for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)); end"
}
],
"additional_scripts": [