python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Using lookAt in @react-three/fiber
I am trying learn how to use three js with react.For this purpose I am using @react-three/fiber and @react-three/drei.
This project by chriscourses was what I used to learn three js and I hope to use ...

Muljayan
Votes: 0
Answers: 2
How to get OrbitControls ref
I am trying to access OrbitControls ref as follow:
const controlsRef = useRef<any>();
return (
<>
<Canvas
camera={{
position: [0, 0, 100],
up: [...
beewest
Votes: 0
Answers: 1
How to pan the camera by code in react-three/fiber and react-three/drei
I can pan the the camera from default position [0,0,0] to [100,100,0] using the mouse with OrbitControls. However still fail to do the panning by code.
<Canvas
camera={{
position:...
beewest
Votes: 0
Answers: 1