From eb569e2477af370fa4f55144d794fdbcb281bc62 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 18:54:08 +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 82ca0843..3f05ea20 100644 --- a/src/runtime-three/third-person-navigation-controller.ts +++ b/src/runtime-three/third-person-navigation-controller.ts @@ -275,6 +275,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.coyoteTimeRemainingMs = 0; this.jumpHoldRemainingMs = 0; this.previousTelemetry = null; + this.smoothedCameraCollisionDistance = null; ctx.setRuntimeMessage(null); ctx.setPlayerControllerTelemetry(null); this.context = null;