fix(simulation): keep rover orbit above ground

This commit is contained in:
DCCONSTRUCTIONS 2026-07-24 21:16:38 +03:00
parent 17a0e7a7f5
commit 60e79160c9
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ export function PolygonRoverScene({
controls.minDistance = 2.2;
controls.maxDistance = 70;
controls.minPolarAngle = 0.04;
controls.maxPolarAngle = Math.PI - 0.04;
controls.maxPolarAngle = Math.PI / 2 - 0.02;
controls.target.copy(CAMERA_TARGET);
controls.update();
controlsRef.current = controls;