fix engine vector
This commit is contained in:
parent
04825f467d
commit
0f33b6e88e
|
@ -883,7 +883,7 @@ fn handle_wants_acceleration(
|
||||||
};
|
};
|
||||||
let factor_right = engine.thrust_sideways;
|
let factor_right = engine.thrust_sideways;
|
||||||
let factor_up = engine.thrust_sideways;
|
let factor_up = engine.thrust_sideways;
|
||||||
let engine_factor = Vec3::new(factor_forward, factor_up, factor_right).as_dvec3()
|
let engine_factor = Vec3::new(factor_right, factor_up, factor_forward).as_dvec3()
|
||||||
* engine.current_warmup as f64
|
* engine.current_warmup as f64
|
||||||
* ENGINE_SPEED_FACTOR as f64
|
* ENGINE_SPEED_FACTOR as f64
|
||||||
* engine.current_boost_factor;
|
* engine.current_boost_factor;
|
||||||
|
|
Loading…
Reference in a new issue