I’m developing a orthographic 3d model viewer, and had some trouble with orthographic arc camera’s zooming.
I did some searching and solved mouse-input zooming with ortho camera, but I’m still struggling with handling multi-touch(like with a smart phone) input and achieve zooming with it.
Thanks for helping me to make the question more clear.
So what i got on mobile: when there’s two finger touching the screen and I pinch like zooming a picture, nothing happens. Rotation works fine with one finger.
And yes, I want to somehow programm the ortho arc camera so it support the pinch to zoom.
Thanks Cedric, I wrote a playground: https://playground.babylonjs.com/#7XF0XZ#1
I’ll take a look at hammer.js mentioned by Deltakosh. Meanwhile any other idea is welcomed!