fix(simulation): keep rover orbit above ground
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user