From 5373edb02f1813c49b98f2d2ad79b5b93596de73 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 16 Apr 2024 19:44:05 +0200 Subject: [PATCH] cleanup --- src/camera.rs | 1 + src/defs.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/camera.rs b/src/camera.rs index ac1b20a..3787fcc 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -264,6 +264,7 @@ pub fn apply_input_to_player( } } } + // TODO: handle mass v.0 += acceleration_total; engine.current_warmup = (engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0); play_thruster_sound = true; diff --git a/src/defs.txt b/src/defs.txt index 4d5d907..202e3b8 100644 --- a/src/defs.txt +++ b/src/defs.txt @@ -31,7 +31,6 @@ actor 10 -30 20 MeteorAceGT collider mesh thrust 24.5 4.8 3.3 100000 3 engine ion - collider sphere 1 camdistance 50 density 500 angularmomentum 0.1 0.1 0.3 @@ -168,7 +167,6 @@ actor -3300 10 0 pizzeria collider mesh thrust 24.5 4.8 3.3 100000 3 engine ion - collider sphere 1 camdistance 50 density 500 angularmomentum 0 0 0.2