I’m using the ArcRotateCamera, which has reliable pinch-to zoom, as well as rotation & panning. However I don’t want to rotate on a single-press, I want to pan, and I want the panning to happen on the X & Y axis, not the Z axis.
I need to have my camera pan on the X & Y axis instead of rotating around the target when the mouse button is held or a single finger is used to pan on screen. I don’t actually need rotation, but having two-finger touch rotation would be great for dev-time. I want to keep the zoom behavior.
I can’t seem to figure this out from the docs, with the only lead being
hammerjs, however the example project largely is broken as far as pinch-to-zoom goes. It seems to be reinventing touch-controls, and they are not great. I also can’t make heads or tails of why some of the example code is the way it is in order to attempt to start debugging.
How can I achieve this without attempting to reinvent touch controls?
Bonus: Can the camera activity be observable? For instance to ignore/disable mesh picking while the camera is zooming or panning.