Files
OpenSpace/data/assets/dawn.scene
T
Alexander Bock 3a687b5c57 Cleanup of scene files by introducing a new base.scene from which all others derive
Add asset.filePath to the warning when trying to register an empty list
Correctly add HyperionTrail
2019-05-20 11:03:55 -06:00

23 lines
768 B
Plaintext

asset.require('./base')
asset.require('scene/solarsystem/missions/dawn/ceres')
asset.require('scene/solarsystem/missions/dawn/dawn')
asset.require('scene/solarsystem/missions/dawn/vesta')
local DawnAsset = asset.require('scene/solarsystem/missions/dawn/dawn')
asset.onInitialize(function ()
openspace.time.setTime("2011 AUG 06 00:00:00")
openspace.markInterestingNodes({ "Dawn", "Ceres", "Vesta" })
openspace.navigation.setCameraState({
Anchor = DawnAsset.Dawn.Identifier,
Position = { 526781518487.171326, 257168309890.072144, -1381125204152.817383 },
Rotation = { -0.106166, 0.981574, -0.084545, 0.134513 },
})
end)
asset.onDeinitialize(function ()
openspace.removeInterestingNodes({ "Dawn", "Ceres", "Vesta" })
end)