Camera movement with finger

Hi

I’m trying to do this nice trick where I can swipe my finger on the phone and the camara will rotate in that direction. Basically rotate the camera with the finger so I can look around.

My guess is that I have to somehow detect how much the finger was moved and move the target point of the camara in a circunference. Correct?

In any case, I have no clue how to do that, if there is a script for it already it would be great :slight_smile:

Look at the Penelope demo. It should be on the Unity site. This will give you some insight into how to move the camera and characters on the iPhone. The other thing to look at is the standard assets MouseLook script and adapt it to touch input.