From 73a4660424bb1334ed3eef5ab744fabbef8ca6fe Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 03:33:49 +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, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime-three/third-person-navigation-controller.ts b/src/runtime-three/third-person-navigation-controller.ts index b061c981..20cd18cb 100644 --- a/src/runtime-three/third-person-navigation-controller.ts +++ b/src/runtime-three/third-person-navigation-controller.ts @@ -34,7 +34,7 @@ const MAX_CAMERA_DISTANCE = 7; const DEFAULT_PITCH_RADIANS = 0.35; const MIN_PITCH_RADIANS = -0.2; const MAX_PITCH_RADIANS = Math.PI * 0.45; -const CAMERA_COLLISION_RADIUS = 0.2; +export const THIRD_PERSON_CAMERA_COLLISION_RADIUS = 0.2; const CAMERA_PIVOT_EYE_HEIGHT_FACTOR = 0.85; function clampPitch(pitchRadians: number): number { @@ -434,7 +434,7 @@ export class ThirdPersonNavigationController implements NavigationController { this.context.resolveThirdPersonCameraCollision( pivot, desiredCameraPosition, - CAMERA_COLLISION_RADIUS + THIRD_PERSON_CAMERA_COLLISION_RADIUS ); this.context.camera.position.set(