Update locomotion logic to handle airborne state and previous locomotion state

This commit is contained in:
2026-04-11 19:34:22 +02:00
parent 23b875ff35
commit baa3c794d0
4 changed files with 106 additions and 3 deletions

View File

@@ -272,6 +272,7 @@ export class FirstPersonNavigationController implements NavigationController {
movementYawRadians: this.yawRadians,
standingShape: this.standingPlayerShape,
verticalVelocity: this.verticalVelocity,
previousLocomotionState: this.locomotionState,
crouched: this.locomotionState.crouched,
wasJumpPressed: this.jumpPressed,
input: inputState,