auto-git:

[change] src/runtime-three/player-locomotion.ts
This commit is contained in:
2026-04-25 04:23:38 +02:00
parent 9261a18d94
commit c39a048134

View File

@@ -501,7 +501,8 @@ export function stepPlayerLocomotion(
options.verticalVelocity > VERTICAL_ASCENT_EPSILON;
const canUseImmediateGrounding =
options.previousLocomotionState === undefined ||
options.previousLocomotionState.grounded;
options.previousLocomotionState.grounded ||
options.verticalVelocity <= VERTICAL_ASCENT_EPSILON;
const currentlyGrounded =
currentGroundProbe.grounded &&
!ascendingFromPreviousFrame &&
@@ -826,4 +827,4 @@ export function stepPlayerLocomotion(
z: resolvedMotion.feetPosition.z - options.feetPosition.z
}
};
}
}