|
Post by johnlanz on Feb 9, 2017 2:02:30 GMT
Hi Guys,
The zoom function doesn't work on android. Do I need to reprogram the camera and add the code from unity's PinchZoom (https://unity3d.com/learn/tutorials/topics/mobile-touch/pinch-zoom?playlist=17138) or is it possible to do the mapping on camera zoom input manager?
Thanks, John
|
|
|
Post by johnlanz on Feb 9, 2017 2:29:52 GMT
Hi Invector,
You've rotated the camera on android using Mouse X and Mouse Y input. var Y = rotateCameraYInput.GetAxis(); var X = rotateCameraXInput.GetAxis();
Could this be possible as well on android zoom using MouseScrollWheel input?
|
|
|
Post by Invector on Feb 9, 2017 8:10:08 GMT
We design the zoom only for the PC (mouse scrollwheel), I don't know if you can do pinchzoom on the mobile because of the overlap button... you probably can if you use the area that we use to rotate the camera
|
|
|
Post by johnlanz on Feb 9, 2017 11:22:27 GMT
Yeah I think pinchzoom is not necessary. I'll put the zoom in settings instead
|
|