From c39a0481346ca826cb079522ac6376b93aedf200 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 04:23:38 +0200 Subject: [PATCH] auto-git: [change] src/runtime-three/player-locomotion.ts --- src/runtime-three/player-locomotion.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/runtime-three/player-locomotion.ts b/src/runtime-three/player-locomotion.ts index 346a6eba..4f438cc4 100644 --- a/src/runtime-three/player-locomotion.ts +++ b/src/runtime-three/player-locomotion.ts @@ -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 } }; -} \ No newline at end of file +}