mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-15 01:50:32 -05:00
22 lines
707 B
Plaintext
22 lines
707 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.setNavigationState({
|
|
Anchor = DawnAsset.Dawn.Identifier,
|
|
Position = { 526781518487.171326, 257168309890.072144, -1381125204152.817383 },
|
|
})
|
|
end)
|
|
|
|
asset.onDeinitialize(function ()
|
|
openspace.removeInterestingNodes({ "Dawn", "Ceres", "Vesta" })
|
|
end)
|