- Home /
Rotating Camera on Touch
Hey guys am making a mobile application and i want to rotate the camera 360 degrees along the center and on the touch of the screen.I am able to somehow rotate the gameobject but not able to do so for the camera. I tried to attach the same script for the camerabut no use. I even tried creating an empty game object and rotating the camera around it .And also i thought of lookAt function but i dont think it wil work for this.Can anyone help me with this.
I just checked my standard assets and I don't have a $$anonymous$$ouseObject - did you mean $$anonymous$$ouseOrbit?
ohh Yeah my bad didnt realized that i have written $$anonymous$$ouseObject.. It actually is $$anonymous$$ouseOrbit.
Answer by sanks007 · Jul 05, 2013 at 05:00 AM
phew that was easy... just used MouseOrbit Script available in standard assets and its done.. though it requires a bit of fine tuning and hope i would be able to do it..
Care to share what you did to the script. Im trying to make a script work with android touch screen but no luck.
Your answer
Follow this Question
Related Questions
Rotate camera smoothly to certain degrees with iphone touch 2 Answers
How to rotate the camera with twist gesture 0 Answers
Rotate Camera around Object 2 Answers
Rotate Camera around object with touch 0 Answers