neon-sprawl/client/test
VinPropane ef211ab4ac NEON-29: fix arrival check using actual capsule bottom for vert_err
The vertical arrival error was computed with CAPSULE_HALF_HEIGHT (0.5),
placing code-feet at body_y - 0.5 = 0.4 on a floor-level player.
Step surfaces at Y=0.3 are only 0.1 m away from that reference, and
Jolt can nudge the body down to ~0.8 when the bottom hemisphere contacts
the step edge, making code-feet = 0.3 and vert_err = 0 — triggering
immediate arrival while the player is still at floor level.

Fix: pass CAPSULE_HALF_HEIGHT + PLAYER_CAPSULE_RADIUS (= 0.9) to
vertical_arrival_error so actual feet = body_y - 0.9 = 0.0 on the
floor. Step goals (Y=0.3) now give vert_err=0.3 >> VERT_ARRIVE_EPS,
preventing premature arrival. Arrival fires correctly once the step
assist lifts the player onto the surface (body_y=1.2, err=0).
Add two tests pinning the new pre/post-climb behaviour.
2026-04-11 19:35:39 -04:00
..
camera_state_test.gd NEON-25: isometric follow camera, CameraState, tests, and docs 2026-04-07 23:46:04 -04:00
camera_state_test.gd.uid NEON-25: isometric follow camera, CameraState, tests, and docs 2026-04-07 23:46:04 -04:00
ground_pick_test.gd NEON-30: skip occluder bodies in ground-pick raycast loop 2026-04-09 22:51:22 -04:00
ground_pick_test.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
isometric_follow_camera_test.gd NEON-28: camera contracts, E6.M2 adjacency, occluder purge 2026-04-10 22:11:40 -04:00
isometric_follow_camera_test.gd.uid NEON-25: isometric follow camera, CameraState, tests, and docs 2026-04-07 23:46:04 -04:00
occlusion_policy_test.gd NEON-27: implement OcclusionPolicy — RayCast-based material fade 2026-04-08 23:34:00 -04:00
occlusion_policy_test.gd.uid NEON-27: finalise review (Approved) + Godot uid files 2026-04-08 23:55:29 -04:00
player_test.gd NEON-29: fix arrival check using actual capsule bottom for vert_err 2026-04-11 19:35:39 -04:00
player_test.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
position_authority_client_test.gd NS-21: fix gdlint in test suites (load-once, line length, const name) 2026-04-06 22:25:23 -04:00
position_authority_client_test.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
position_authority_test_double.gd NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
position_authority_test_double.gd.uid NS-21: add GdUnit4, client tests, and CI headless run 2026-04-06 22:08:37 -04:00
zoom_band_config_test.gd NEON-26: address code review follow-ups (zoom validation, docs) 2026-04-08 22:58:28 -04:00
zoom_band_config_test.gd.uid NEON-26: ZoomBandConfig, discrete zoom input, CameraState sync 2026-04-08 22:32:45 -04:00