- Home /
Zoom Pinch
There are a lot of object in my scene. I want to make zoom pinch on plane. But camera doesnt zoom. I use 2d orthographic camera. My code doesnt work. I use to Input touches method.
There are several reasons why that might not be working, you should provide some more detail/code.
One possibility is that you are changing the camera's position, which has no effect on zoom when using orthographic camera. With orthographic cameras you need to change the "Size" value.
I realized that the problem stems from the fact that the 2d. I use to camera field of view method.
How to use zoom on the 2d camera?
Thanks.
For an Orthographic camera, you can use orthographicSize.
Answer by Nilsboom · Jan 15, 2014 at 02:32 PM
Please refer below link http://answers.unity3d.com/questions/617322/zoom-pinch.html