From 8f101a48ec1e2f295c4bb1285e72caf1c95271be Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 18:53:36 +0200 Subject: [PATCH] Initialize smoothed camera collision distance state --- 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 6ec642a7..82ca0843 100644 --- a/src/runtime-three/third-person-navigation-controller.ts +++ b/src/runtime-three/third-person-navigation-controller.ts @@ -186,6 +186,7 @@ export class ThirdPersonNavigationController implements NavigationController { private latestJumpStarted = false; private latestHeadBump = false; private smoothedFeetY = 0; + private smoothedCameraCollisionDistance: number | null = null; private previousPlanarDisplacement = { x: 0, y: 0,