force-enable rotation stabiliser while holding space key

This commit is contained in:
yuni 2024-05-15 05:02:00 +02:00
parent f94c46cce2
commit a07955d635

View file

@ -510,7 +510,8 @@ pub fn apply_input_to_player(
}
}
let angular_slowdown: f64 = if settings.rotation_stabilizer_active {
let slowrot = settings.rotation_stabilizer_active || key_input.pressed(settings.key_stop);
let angular_slowdown: f64 = if slowrot {
(2.0 - engine.reaction_wheels.powf(0.05).clamp(1.001, 1.1)) as f64
} else {
1.0