add appropriate densities/masses for rocky things

This commit is contained in:
yuni 2024-11-30 00:37:22 +01:00
parent 35c6500ec4
commit 641884fde5
2 changed files with 14 additions and 14 deletions

View file

@ -922,8 +922,8 @@ fn spawn_scenes(
// command: camdistance 4000
state.camdistance = 4000.0;
// command: density 100000
state.density = 100000.0;
// command: density 7000
state.density = 7000.0;
// command: pointofinterest yes
state.is_point_of_interest = true;
@ -981,8 +981,8 @@ fn spawn_scenes(
state.collider_is_one_mesh_of_scene = true;
state.collider_is_mesh = true;
// command: density 50000
state.density = 50000.0;
// command: density 5000
state.density = 5000.0;
}
"lightorb" => {
state.model = Some("lightorb".to_string());
@ -1056,8 +1056,8 @@ fn spawn_scenes(
state.collider_is_one_mesh_of_scene = true;
state.collider_is_mesh = true;
// command: density 5000
state.density = 5000.0;
// command: density 7000
state.density = 7000.0;
}
"hideout" => {
state.model = Some("hollow_asteroid".to_string());
@ -1075,8 +1075,8 @@ fn spawn_scenes(
// command: pointofinterest yes
state.is_point_of_interest = true;
// command: density 10000000000
state.density = 10000000000.0;
// command: density 7000
state.density = 7000.0;
// command: angularmomentum 0 0.015 0
state.angular_momentum = DVec3::new(0.0, 0.015, 0.0);
@ -1096,8 +1096,8 @@ fn spawn_scenes(
// command: pointofinterest yes
state.is_point_of_interest = true;
// command: density 5000
state.density = 5000.0;
// command: density 7000
state.density = 7000.0;
// command: angularmomentum 0 0 0
state.angular_momentum = DVec3::ZERO;

View file

@ -171,7 +171,7 @@ actor 0 0 0
orbitaround jupiter 221900e3
orbit_phase_offset 0.0003
collider handcrafted
density 10000000000
density 7000
scale 6e3
angularmomentum 0.01 0 0
actor 120e3 0 0 metis
@ -179,7 +179,7 @@ actor 0 0 0
relativeto jupiter
orbitaround jupiter 221900e3
collider handcrafted
density 10000000000
density 7000
scale 2e3
angularmomentum 0.4 2.0 0.3
actor -40e3 0 90e3 metis
@ -187,7 +187,7 @@ actor 0 0 0
relativeto jupiter
orbitaround jupiter 221900e3
collider handcrafted
density 10000000000
density 7000
scale 4e3
angularmomentum 0.02 0.01 0.0
actor 0 0 0 io
@ -397,7 +397,7 @@ actor 5000 0 -3000 metis
name Moonlet
collider handcrafted
relativeto player
density 10000000000
density 7000
scale 500
angularmomentum 0 0.015 0