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,