From b3a92fa1ffc565c2fc72b1a531cae09cbbc219bd Mon Sep 17 00:00:00 2001 From: aura Date: Sun, 1 Mar 2026 23:07:31 +0100 Subject: wip on adding edge normals --- src/game/physics/movement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/physics/movement.cpp') diff --git a/src/game/physics/movement.cpp b/src/game/physics/movement.cpp index 1e2e973..b2b2ffa 100644 --- a/src/game/physics/movement.cpp +++ b/src/game/physics/movement.cpp @@ -257,7 +257,7 @@ F32 gmove_try_move( BSP_TRACE* t, VEC3* pos, VEC3* vel ) { F32 dot = vec_dot( *vel, t->normal ); *pos += wishmove * t->frac; // nudge player away from wall - *pos += t->normal * BSP_TRACE_EPSILON * 4.f; + *pos += t->normal * BSP_TRACE_EPSILON * 2.f; // avoid clipping planes twice // in a rare edge case its possible to get stuck in the plane again after pushing away from it -- cgit v1.2.3