I have disabled the mouse wheel event and then I want to use right click and left click for zoom in/out instead of mouse wheel event. I mean when use pointer down I want to zoom to the pointer and when the pointer is up stop moving.
how can i do it?
camera.inputs.remove(camera.inputs.attached.mousewheel); to disable the mouse wheel event, but I don’t know how can I use right click and left click for zoom in and out like mouse wheel event.
here is my PG: https://playground.babylonjs.com/#Q8VH3H#28