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 4b87c69b5..675fda8f6 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 @@ -88,7 +88,11 @@ export function Controls({ naked }: ControlsProps) { protagonistHullOrigin.y + protagonistTurretOrigin.y + protagonistGunOrigin.y; - const inspectModeInitialPosition = [-8, gunHeight + 4, -13] as const; + const inspectModeInitialPosition = [ + -8, + gunHeight + (naked ? 10 : 4), + -13, + ] as const; const protagonistGunOriginOnlyY = new Vector3( 0, protagonistTurretModelDefinition.gun_origin.y, 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 60632446b..1ef07c9e4 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 @@ -1,6 +1,7 @@ import { Environment } from '@react-three/drei'; import { times } from 'lodash-es'; import { Euler } from 'three'; +import { degToRad } from 'three/src/math/MathUtils.js'; import { useModel } from '../../../../../../hooks/useModel'; import { Duel } from '../../../../../../stores/duel'; import { TankopediaEphemeral } from '../../../../../../stores/tankopediaEphemeral'; @@ -20,7 +21,7 @@ export function Lighting() { {display === TankopediaDisplay.ShootingRange && ( <>