force-enable rotation stabiliser while holding space key
This commit is contained in:
parent
f94c46cce2
commit
a07955d635
|
@ -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
|
(2.0 - engine.reaction_wheels.powf(0.05).clamp(1.001, 1.1)) as f64
|
||||||
} else {
|
} else {
|
||||||
1.0
|
1.0
|
||||||
|
|
Loading…
Reference in a new issue