diff options
| author | aura <nw@moneybot.cc> | 2026-03-01 23:07:31 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-01 23:07:31 +0100 |
| commit | b3a92fa1ffc565c2fc72b1a531cae09cbbc219bd (patch) | |
| tree | fe3d9d411a8de92c48f39e10456e485ec91cda93 /src/game/physics/movement.cpp | |
| parent | 71dd7fcccb45a54d85ae23a95a8a8905ed21fe15 (diff) | |
wip on adding edge normals
Diffstat (limited to 'src/game/physics/movement.cpp')
| -rw-r--r-- | src/game/physics/movement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
