cleanup
This commit is contained in:
parent
c880a8fb97
commit
5373edb02f
|
@ -264,6 +264,7 @@ pub fn apply_input_to_player(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// TODO: handle mass
|
||||||
v.0 += acceleration_total;
|
v.0 += acceleration_total;
|
||||||
engine.current_warmup = (engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0);
|
engine.current_warmup = (engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0);
|
||||||
play_thruster_sound = true;
|
play_thruster_sound = true;
|
||||||
|
|
|
@ -31,7 +31,6 @@ actor 10 -30 20 MeteorAceGT
|
||||||
collider mesh
|
collider mesh
|
||||||
thrust 24.5 4.8 3.3 100000 3
|
thrust 24.5 4.8 3.3 100000 3
|
||||||
engine ion
|
engine ion
|
||||||
collider sphere 1
|
|
||||||
camdistance 50
|
camdistance 50
|
||||||
density 500
|
density 500
|
||||||
angularmomentum 0.1 0.1 0.3
|
angularmomentum 0.1 0.1 0.3
|
||||||
|
@ -168,7 +167,6 @@ actor -3300 10 0 pizzeria
|
||||||
collider mesh
|
collider mesh
|
||||||
thrust 24.5 4.8 3.3 100000 3
|
thrust 24.5 4.8 3.3 100000 3
|
||||||
engine ion
|
engine ion
|
||||||
collider sphere 1
|
|
||||||
camdistance 50
|
camdistance 50
|
||||||
density 500
|
density 500
|
||||||
angularmomentum 0 0 0.2
|
angularmomentum 0 0 0.2
|
||||||
|
|
Loading…
Reference in a new issue