mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 06:49:32 -05:00
3a687b5c57
Add asset.filePath to the warning when trying to register an empty list Correctly add HyperionTrail
23 lines
768 B
Plaintext
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)
|