From 65b49d27261754903b2e39194c80ac096afc1da2 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Jan 2025 09:42:07 -0800 Subject: [PATCH] bodge surfs --- strafe-client/src/physics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index 814345d..8f27860 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -1294,7 +1294,7 @@ fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsM let mut culled=false; touching.contacts.retain(|contact|{ let n=contact_normal(models,hitbox_mesh,contact); - let r=n.dot(v).is_positive(); + let r=(n.dot(v)>>52).is_positive(); if r{ culled=true; }