ArcRotateCamera - remove right mouse button input

Hi,

So I want to completely remove all inputs for ArcRotateCamera, except the rotation part. I’ve removed the zooming in with:

camera.inputs.remove(camera.inputs.attached.mousewheel);

But there’s still an input active on RMB (right mouse button) - camera panning. And I can’t figure out what is the name of the attached input for RMB

Ok I couldn’t figure it out with inputs, so I managed to break the camera panning axis instead with:

camera.panningAxis = Vector3.Zero();

The result is the same. No panning on RMB now!

3 Likes