fix engine thruster direction
This commit is contained in:
parent
15781d2175
commit
d073eb067c
|
@ -183,7 +183,7 @@ fn apply_input_to_player(
|
|||
axis_input = axis_input.clamp(Vec3::splat(-1.0), Vec3::splat(1.0));
|
||||
|
||||
// Apply movement update
|
||||
let forward_factor = engine.current_warmup * (if axis_input.z < 0.0 {
|
||||
let forward_factor = engine.current_warmup * (if axis_input.z > 0.0 {
|
||||
engine.thrust_forward
|
||||
} else {
|
||||
engine.thrust_back
|
||||
|
|
Loading…
Reference in a new issue