Thanks Ross C!
It works good enough for me. I changed the zoom speed to be faster and I hooked it up to my middle mouse wheel so I could use the wheel for zooming in and out.
Here is the code that I used for detecting the mousewheel. It may not be as efficient as it could be and it may not be the right way to do at all. If you know of a better way, I would love to know it...
I really want it to zoom in to my mouse position. How do I make the zoom_pivot always follow my mouse pointer rather than having to use the arrow keys to move the zoom_pivot? Does that complicate things too much?
Thanks,
David
It works good enough for me. I changed the zoom speed to be faster and I hooked it up to my middle mouse wheel so I could use the wheel for zooming in and out.
Here is the code that I used for detecting the mousewheel. It may not be as efficient as it could be and it may not be the right way to do at all. If you know of a better way, I would love to know it...
CurrentMouseZ# = MouseZ() IF CurrentMouseZ# < SaveMouseZ# then SaveMouseZ# = CurrentMouseZ zoom_in() END IF IF CurrentMouseZ# > SaveMouseZ# then SaveMouseZ# = CurrentMouseZ zoom_in() END IF
I really want it to zoom in to my mouse position. How do I make the zoom_pivot always follow my mouse pointer rather than having to use the arrow keys to move the zoom_pivot? Does that complicate things too much?
Thanks,
David