Version 1.1
Forward cliff-edge detection — RaySense_Verticality Index 6 (CliffDist) and Index 7 (CliffDrop) report the distance to and depth of a cliff ahead.
[Cliff] INI section (bEnableCliffScan, fCliffScanStep, fCliffDropThreshold, fCliffGateThreshold) for tuning sensitivity.
Fixed: jump height (fJumpHeightMin) could stay boosted after mounting, swimming, or dying while facing an obstacle.
Fixed: a rare thread race in the debug overlay.
RaySense_Verticality (Elevation)
Index 0 (Front) : Elevation diff (80 units ahead). (Predicts landing spot while mid-air)
Index 1 (Left) : Elevation diff (50 units left).
Index 2 (Right) : Elevation diff (50 units right).
Index 3 (Player) : Distance to solid ground.
Index 4 (SurfaceType) : Material ID of the ground.
Index 5 (PlatformType) : 1 : Moving Platform, 2 : Actor.
Index 6 (CliffDist) : Horizontal distance to a cliff edge ahead (within 80 units). Returns 999 when no cliff is found. (NEW)
Index 7 (CliffDrop) : Drop height at the detected cliff edge (up to 4000). Returns 0 when no cliff is found. (NEW)