When I try to use OrbitControl just like in the examples provided, it only seems to work when i set camera.position
to something other than 0,0,0. No events are being triggered but when I add camera.position.set(0, 0, 10);
to my code then it suddenly starts to work.
You cannot set controls.target
and camera.position
to the same value.
Yep, check out this example as an orientation.
Most helpful comment
You cannot set
controls.target
andcamera.position
to the same value.