auto-git:
[change] src/runtime-three/player-locomotion.ts
This commit is contained in:
@@ -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
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user