Adjust player locomotion logic to prioritize ground probe for grounded state determination

This commit is contained in:
2026-04-12 01:29:17 +02:00
parent 0a374d70c9
commit 84ea08e5cc
2 changed files with 56 additions and 1 deletions

View File

@@ -641,7 +641,7 @@ export function stepPlayerLocomotion(
!ascending &&
activeShape.mode !== "none" &&
!nextSwimmableWater &&
(resolvedMotion.grounded || groundProbe.grounded);
groundProbe.grounded;
if (activeShape.mode === "none" || grounded || headBump) {
verticalVelocity = 0;