Rotating a camera based on TouchPad input.

Hello,

I have been surfing around these forums for quite a long time now and I have to say, they are really helpful. Many times I found what I needed but in this case.

I hope someone could help me with this problem. I'm using Unity iPhone.

Basically, I need to make a "Photo camera - like" screen from where the user can look around the scene by panning in up/down and left/right directions and then capture a picture (The capturing is not a problem right now as there isn't much to capture).

So far, it looks like this (But I can not look around):

alt text

I tried looking everywhere I know of but I couldn't find anything that would help me solve this.

I would much appreciate any help regarding rotating camera through touch input.

Thanks.

Just use some textures, etc. Or alternatively navigation arrows.

Hey Guys have you found any thinks about Rotation camera in iphone by touchpad ??? :(

You might find this one useful, the script rotates the object by touch input, but it can be apply on any object even a camera.

Found the source code is here:

http://www.revelopment.co.uk/tutorials/unitytutorials/73-howtorotateanobjectbytouch