NS-23: Comment DESCEND_GOAL_Y_MARGIN (surface Y vs mid-capsule)

pull/23/head
VinPropane 2026-04-05 15:01:29 -04:00
parent 14a6813985
commit 8fe70a75de
1 changed files with 3 additions and 2 deletions

View File

@ -15,8 +15,9 @@ const MOVE_SPEED: float = 5.0
const ARRIVE_EPS: float = 0.35 const ARRIVE_EPS: float = 0.35
const VERT_ARRIVE_EPS: float = 0.055 const VERT_ARRIVE_EPS: float = 0.055
const DIRECT_APPROACH_RADIUS: float = 0.85 const DIRECT_APPROACH_RADIUS: float = 0.85
## Server goal clearly below us (descending). Nav mesh waypoints are often under the rim first; ## Descend bypass: compares auth goal Y (often floor **surface** from pick) to `global_position.y`
## steering at next gives almost no horizontal speed — walk out on xz toward the authorized goal. ## (**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 const DESCEND_GOAL_Y_MARGIN: float = 0.06
var _has_walk_goal: bool = false var _has_walk_goal: bool = false