From 2b599b8f49f85d1160290e8f6d6631121df26840 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 1 May 2026 16:48:23 +0200 Subject: [PATCH] auto-git: [change] src/runtime-three/third-person-navigation-controller.ts --- src/runtime-three/third-person-navigation-controller.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime-three/third-person-navigation-controller.ts b/src/runtime-three/third-person-navigation-controller.ts index 625fce36..cf89331d 100644 --- a/src/runtime-three/third-person-navigation-controller.ts +++ b/src/runtime-three/third-person-navigation-controller.ts @@ -252,6 +252,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.verticalVelocity = 0; this.grounded = false; this.jumpPressed = false; + this.ledgeGrabTarget = null; this.smoothedFeetY = this.feetPosition.y; this.locomotionState = createIdleRuntimeLocomotionState( runtimeScene.playerCollider.mode === "none" ? "flying" : "airborne" @@ -348,6 +349,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.jumpHoldRemainingMs = 0; this.climbSurface = null; this.climbLatchBlocked = false; + this.ledgeGrabTarget = null; this.previousTelemetry = null; this.smoothedCameraCollisionDistance = null; this.pointerLookInputPending = false; @@ -404,6 +406,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.jumpHoldRemainingMs = 0; this.climbSurface = null; this.climbLatchBlocked = false; + this.ledgeGrabTarget = null; } update(dt: number): void { @@ -743,6 +746,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.jumpHoldRemainingMs = 0; this.climbSurface = null; this.climbLatchBlocked = false; + this.ledgeGrabTarget = null; this.inWaterVolume = false; this.inFogVolume = false; this.updateCameraTransform(0);