place remaining objects relative to jupiter

This commit is contained in:
yuni 2024-04-01 17:55:58 +02:00
parent 911d194b53
commit 5889aed6fa
2 changed files with 20 additions and 14 deletions

View file

@ -1,4 +1,14 @@
actor 0 0 0 suit actor 0 0 0 jupiter
id jupiter
scale 400000
sphere yes
physics off
rotationx -0.50
rotationz -0.28
angularmomentum 30 30 30
actor -300000 0 -500000 suit
relativeto jupiter
player yes player yes
id player id player
mass 200.0 mass 200.0
@ -22,15 +32,8 @@ actor 10 -30 20 MeteorAceGT
mass 3000 mass 3000
angularmomentum 0.1 0.1 0.3 angularmomentum 0.1 0.1 0.3
actor 300000 0 500000 jupiter actor -735000 0 -935000 io
scale 400000 relativeto jupiter
sphere yes
physics off
rotationx -0.50
rotationz -0.28
angularmomentum 30 30 30
actor -435000 0 -435000 io
scale 10188 scale 10188
rotationy -0.40 rotationy -0.40
angularmomentum 0 0.0001 0 angularmomentum 0 0.0001 0
@ -38,7 +41,8 @@ actor -435000 0 -435000 io
moon yes moon yes
physics off physics off
actor -900000 200000 1900000 europa actor -1200000 200000 1400000 europa
relativeto jupiter
scale 8733 scale 8733
rotationy 0.20 rotationy 0.20
angularmomentum 0 0.0001 0 angularmomentum 0 0.0001 0
@ -46,7 +50,8 @@ actor -900000 200000 1900000 europa
moon yes moon yes
physics off physics off
actor 2500000 0 -1000000 ganymede actor 2200000 0 -1500000 ganymede
relativeto jupiter
scale 14737 scale 14737
rotationy -0.40 rotationy -0.40
angularmomentum 0 0.0001 0 angularmomentum 0 0.0001 0
@ -54,7 +59,8 @@ actor 2500000 0 -1000000 ganymede
moon yes moon yes
physics off physics off
actor -4000000 0 1500000 callisto actor -4300000 0 1000000 callisto
relativeto jupiter
scale 13484 scale 13484
rotationy -0.40 rotationy -0.40
angularmomentum 0 0.0001 0 angularmomentum 0 0.0001 0

View file

@ -172,7 +172,7 @@ pub fn setup(
}), }),
..default() ..default()
}, },
Position::from_xyz(300000.0, -1000.0, 500000.0), Position::from_xyz(0.0, 0.0, 0.0),
Rotation::from(Quat::from_rotation_z(1f32.to_radians())), Rotation::from(Quat::from_rotation_z(1f32.to_radians())),
)); ));