From ac9818a2cdcd857f9daa889ffd8fe4988cabc992 Mon Sep 17 00:00:00 2001 From: VinPropane Date: Sun, 12 Apr 2026 00:05:18 -0400 Subject: [PATCH] =?UTF-8?q?NEON-29:=20Stop=20clearing=20floor=5Fblock=5Fon?= =?UTF-8?q?=5Fwall=20for=20ascent=20(fix=20floor=E2=86=92step=201)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relaxing floor_block when goal was above feet and wallish prevented reliable step-up; restore default true for climbing. Keep descend-only relaxation. --- client/scripts/player.gd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/scripts/player.gd b/client/scripts/player.gd index 2a8e1f1..e6c6250 100644 --- a/client/scripts/player.gd +++ b/client/scripts/player.gd @@ -280,14 +280,14 @@ func _update_floor_block_on_wall_for_terraces(feet_y: float) -> void: floor_block_on_wall = true if not _has_walk_goal: return - var goal_above: bool = _auth_walk_goal.y > feet_y + 0.06 + # Only relax for descending (step/platform → lower surface). Clearing floor_block for + # goal_above + wallish broke floor→TerraceStepB: step assist + move_and_slide need the + # default blocked wall/floor interaction to climb reliably on Jolt. var goal_below: bool = _auth_walk_goal.y < feet_y - DESCEND_GOAL_Y_MARGIN - if not goal_above and not goal_below: + if not goal_below: return var wallish: bool = _walk_has_wallish_slide_contact() - if goal_above and wallish: - floor_block_on_wall = false - elif goal_below and (wallish or _descend_lip_stall_ticks >= 1): + if wallish or _descend_lip_stall_ticks >= 1: floor_block_on_wall = false