From a612d1f864361a72a1f8e5670aca60147cc03cf7 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Jan 2025 04:53:47 -0800 Subject: [PATCH] quiet down physics --- strafe-client/src/physics.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index f2f8708..fd43710 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -1283,7 +1283,6 @@ fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsM let r=n.dot(v).is_positive(); if r{ culled=true; - println!("set_velocity_cull contact={:?}",contact); } !r }); @@ -1302,7 +1301,6 @@ fn set_acceleration_cull(body:&mut Body,touching:&mut TouchingState,models:&Phys let r=n.dot(a).is_positive(); if r{ culled=true; - println!("set_acceleration_cull contact={:?}",contact); } !r }); @@ -1520,7 +1518,7 @@ fn collision_start_contact( let model_id=contact.model_id.into(); let mut allow_run_teleport_behaviour=not_spawn_at(mode,model_id); match &attr.contacting.contact_behaviour{ - Some(gameplay_attributes::ContactingBehaviour::Surf)=>println!("I'm surfing!"), + Some(gameplay_attributes::ContactingBehaviour::Surf)=>(), Some(gameplay_attributes::ContactingBehaviour::Cling)=>println!("Unimplemented!"), &Some(gameplay_attributes::ContactingBehaviour::Elastic(elasticity))=>{ let reflected_velocity=body.velocity+((body.velocity-incident_velocity)*Planar64::raw(elasticity as i64+1)).fix_1();