#Rotate camera in R3F?
5 messages · Page 1 of 1 (latest)
the camera will have a starting position
<PerspectiveCamera makeDefault position={[0.0, 2.0, 4.5]} />
have you tried adjusting these values?
you can also access the camera within a useFrame hook
useFrame(({ camera }) => { console.log(camera); console.log(camera.rotation); console.log(camera.position); });
I havent used a perspective camera, but I was able to figure it out