Skip to content

Commit

Permalink
Increase allowed wall pushback
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelton committed Dec 1, 2024
1 parent 95431d7 commit f37e995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engine/Graphics/Collisions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ static void CollideBodyWithFace(BLVFace *face, Pid face_pid, bool ignore_etherea
if (have_collision && move_distance < collision_state.adjusted_move_distance) {
// TODO(pskelton): should this be a config value
// We allow for a bit of negative movement in case we are already too close to the surface and need pushback
if (move_distance > -10.0f) {
if (move_distance > -100.0f) {
collision_state.adjusted_move_distance = move_distance;
collision_state.collisionPos = col_pos;
collision_state.pid = face_pid;
Expand Down

0 comments on commit f37e995

Please sign in to comment.