move player back to the outside of the rings. jupiter too large.

This commit is contained in:
yuni 2024-04-02 01:33:00 +02:00
parent 36f99d8215
commit 8e26208559
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ actor 0 0 0 jupiter
actor 0 0 0 suit actor 0 0 0 suit
relativeto jupiter relativeto jupiter
orbit 150000e3 0.66 orbit 220000e3 0.66
player yes player yes
id player id player
mass 200.0 mass 200.0

View file

@ -175,7 +175,7 @@ fn generate_asteroids(
) { ) {
let maxdist = 30; let maxdist = 30;
let maxdist_orthogonal = maxdist / 4; let maxdist_orthogonal = maxdist / 4;
let player_r: f64 = 150000e3; // sync this with defs.txt parameters let player_r: f64 = 220000e3; // sync this with defs.txt parameters
let player_phase: f64 = 0.66; // sync this with defs.txt parameters let player_phase: f64 = 0.66; // sync this with defs.txt parameters
let player_x: f64 = player_r * (player_phase * PI64 * 2.0).cos(); let player_x: f64 = player_r * (player_phase * PI64 * 2.0).cos();
let player_y: f64 = 0.0; let player_y: f64 = 0.0;