NS-23: Comment DESCEND_GOAL_Y_MARGIN (surface Y vs mid-capsule)
parent
14a6813985
commit
8fe70a75de
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue