Change mouse actions

My goal was to achieve the following behavior:

  • Right click is rotation
  • Left click is panning

On my BABYLON.ArcRotateCamera. I was able to do this by adding the following line after the camera was attached to the HTML canvas:

camera._panningMouseButton = 0;