- Home /
[Android/ iOS] - 3D - touch move, zoom, rotate such as GPS navigation
Hi, I working with 3D game, perspective camera and i need create Touch Input manager. I could'n find solution to my issue about camera move, zoom and rotate around game plane. I try to build Input manager to my game,and i need to:
if (Input.touchCount == 1) { } // i want to camera movement
if (Input.touchCount == 2) { } // i want to camera zoom
if (Input.touchCount == 2) { } // i want to camera rotate around game plane
If is only one touch detected, camera will be movement, If is two touch detected - like as zooming - two fingers move closer or further - Camera will be zooming If is two touch detected - like as rotating - two fingers are rotate around display - Camera will be rotate around game plane, not around its own axis.
I try to manipulate about camera like as in GPS navigation, such as Google Maps. I try a lot of tuturials but no one works. Please can anybody to help me?
Thanks a lot.
Your answer

Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
click to move workig script!! but pls help with rotation!! :( 1 Answer
2D Topdown Character Contoller 0 Answers
MMD How to export model and animations to Unity as 3rd person controller? 2 Answers
How to limit the forces applied to an object to just forward, left, and right? 0 Answers