From 8fe70a75de547512334bb62a42c68d1f255c9266 Mon Sep 17 00:00:00 2001 From: VinPropane Date: Sun, 5 Apr 2026 15:01:29 -0400 Subject: [PATCH] NS-23: Comment DESCEND_GOAL_Y_MARGIN (surface Y vs mid-capsule) --- client/scripts/player.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/scripts/player.gd b/client/scripts/player.gd index 0ff126f..1ca6a66 100644 --- a/client/scripts/player.gd +++ b/client/scripts/player.gd @@ -15,8 +15,9 @@ const MOVE_SPEED: float = 5.0 const ARRIVE_EPS: float = 0.35 const VERT_ARRIVE_EPS: float = 0.055 const DIRECT_APPROACH_RADIUS: float = 0.85 -## Server goal clearly below us (descending). Nav mesh waypoints are often under the rim first; -## steering at next gives almost no horizontal speed — walk out on xz toward the authorized goal. +## Descend bypass: compares auth goal Y (often floor **surface** from pick) to `global_position.y` +## (**mid-capsule**). True for most floor clicks — smooth bumps; skips nav (bee-line xz), so +## obstacles may need multi-click. Nav waypoints under bump rims gave almost no horizontal speed. const DESCEND_GOAL_Y_MARGIN: float = 0.06 var _has_walk_goal: bool = false