Move camera along X and Z axis with left mouse and 'look around' with right mouse

How do you achieve the camera movement on the Madbox website? So use the left mouse button to move the camera along the x/z axis, and the right mouse button to ‘look around’?

It’s not a 100% match but THREE.MapControls looks like a good start: three.js webgl - map controls

1 Like