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?
I use 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.
@NRA thanks a lot for answering to my question, on my code there is a zoom to the target with dbClick,
but I don’t want to zoom-in the camera to the target , I want to zoom-in to the mouse pointer, with the mouse scroll wheel it works but I want to change it with mouse pointer-down.
Hi, is it possible to help me know how can I change camera configuration to zoom-in/out to the mouse pointer with the pointer-down instead of mouse wheel?