Arc rotate camera disable pinch zoom?

Hello, how to disable pinch zoom on mobile, arc rotate camera is ignoring parameters on free camera it works? Thank you!
https://playground.babylonjs.com/#DWPQ9R#889

This should help:

camera.inputs.attached.pointers.pinchZoom = false;

Hello @Paul_Ksi just checking in, do you still have a issue?

Hi,
And sorry for bumping this up. I’m trying to disable the pinch zoom with camera.inputs.attached.pointers.pinchZoom = false but it doesn’t seem to work now. I’ve tried on Android device and on an iPad Pro.

In this PG, the pinch should be disabled with that property set to “false”, but it’s zooming in/out:

Edit: It works setting pinchZoom and this property to false:

camera.inputs.attached.pointers.multiTouchPanAndZoom = false

We’ve seen in the base code that there is no check of this.pinchZoom here, and maybe that’s causing that issue:

Regards

Looks like the right solution to me ? cc @PolygonalSun

So, the way that the logic is set up is that it first checks that multiTouchPanAndZoom is true, which would enable the gesture of being able to pan and zoom simultaneously. If it’s false, the input object will then handle each separately so it makes sense that pinchZoom wouldn’t affect the first option. It does feel a bit confusing though. I guess it comes down to if it makes more sense to lock out multiTouchPanAndZoom if either panning or zoom is disabled.

Personally, I think that, while it would technically be a change to the behavior, having both multiTouchPanning and pinchZoom true should be a requirement to use the multiTouchPanAndZoom behavior.