From e6c509b61096bc2e13c8958f95e29355505dc1ac Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 18:54:38 +0200 Subject: [PATCH] Initialize smoothed camera collision distance tracking --- src/runtime-three/third-person-navigation-controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime-three/third-person-navigation-controller.ts b/src/runtime-three/third-person-navigation-controller.ts index 3f05ea20..b5d15bad 100644 --- a/src/runtime-three/third-person-navigation-controller.ts +++ b/src/runtime-three/third-person-navigation-controller.ts @@ -299,6 +299,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.grounded = false; this.jumpPressed = false; this.smoothedFeetY = 0; + this.smoothedCameraCollisionDistance = null; this.standingPlayerShape = cloneFirstPersonPlayerShape( FIRST_PERSON_PLAYER_SHAPE );