diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx index 675fda8f6..05fbd95af 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Control.tsx @@ -298,10 +298,10 @@ export function Controls({ naked }: ControlsProps) { } } else { camera.position.set(...inspectModeInitialPosition); - orbitControls.current.target.set(0, gunHeight / 2, 0); + orbitControls.current.target.set(0, gunHeight / (naked ? 4 : 2), 0); orbitControls.current.enablePan = true; orbitControls.current.enableZoom = true; - camera.fov = 25; + camera.fov = naked ? 20 : 25; } camera.updateProjectionMatrix(); diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx index b9c818013..fcb36f83c 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx @@ -9,7 +9,11 @@ import { TankopediaDisplay } from '../../../../../../stores/tankopediaPersistent const LIGHTS_COUNT = 5; -export function Lighting() { +interface LightingProps { + naked?: boolean; +} + +export function Lighting({ naked }: LightingProps) { const protagonist = Duel.use((state) => state.protagonist); const display = TankopediaEphemeral.use((state) => state.display); const { hasPbr } = useModel(protagonist.tank.id); @@ -21,7 +25,9 @@ export function Lighting() { {display === TankopediaDisplay.ShootingRange && ( <> diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/index.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/index.tsx index 1a8089469..3b67c1bb1 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/index.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/index.tsx @@ -200,7 +200,7 @@ export const TankSandbox = forwardRef( {display === TankopediaDisplay.StaticArmor && ( )} - + );