This commit is contained in:
yuni 2024-04-16 19:44:05 +02:00
parent c880a8fb97
commit 5373edb02f
2 changed files with 1 additions and 2 deletions

View file

@ -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;

View file

@ -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