@@ 1,7 1,5 @@
use std::collections::HashMap;
-use good_lp::variable;
-
use crate::{attachment::{PartInShip, Parts}, ecs::{CraftPartRequest, Part, Player, SingleStorage, VariableStorage}, prelude::*, server::part::{SpawnPartBundle, SpawnPartRequest}};
pub fn craft_plugin(app: &mut App) {
@@ 99,7 99,7 @@ fn apply_thrust_solutions(
part_forces.apply_force_at_point(
(thruster_transform.rotation() * thruster_info.thrust_vector.extend(0.0)).xy(),
- thruster_transform.translation().xy()
+ thruster_transform.translation().xy() + part_forces.linear_velocity()*time.delta_secs(),
);
}
}