M server/src/main.rs => server/src/main.rs +1 -1
@@ 228,7 228,7 @@ lazy_static! {
dt: 1.0 / 20.0,
joint_erp: 0.2,
erp: 0.5,
- max_stabilization_iterations: 8,
+ max_stabilization_iterations: 16,
..Default::default()
},
island_manager: IslandManager::new(),
M server/src/timer.rs => server/src/timer.rs +2 -2
@@ 231,7 231,7 @@ pub async fn timer_main(
if let Some(child) = child {
let joint = physics_data.impulse_joint_set
.get(child.connection).ok_or("module joint does not exist")?;
- if joint.impulses.magnitude() > 0.00006 {
+ if joint.impulses.magnitude() > 0.00012 {
let module: Option<AttachedModule>;
if let Some(Entity::AttachedModule(p_module)) =
entities.entities.get_mut(&child.child)
@@ 363,7 363,7 @@ pub async fn timer_main(
// displays impulse on joint * 10000 so its visible, use to tune breaking
// force
//debug!("impulse: {}", joint.impulses.magnitude() * 10000.);
- if joint.impulses.magnitude() > 0.00006 {
+ if joint.impulses.magnitude() > 0.00012 {
let module: Option<AttachedModule>;
if let Some(Entity::AttachedModule(p_module)) =
entities.entities.get_mut(&child.child)