- Home /
How to rotate unity FPS Controller camera relative to swipe speed?
I am developing a first person shooter for mobile devices. I am using unity FPS Controller and Dual Touch Controller. The only thing missing is that the camera is not rotating relative to swipe speed. I have been going through different threads for days now but still can not figure it out. As far as i understand i have to make some changes in TouchPad.cs, but what and where is that i can not figure out. Any help will be appreciated.,I am making a first person shooter using the unity FPS Controller, and also using the Dual Touch Control because i am targeting mobile devices. I have not modified the TouchPad.cs script. The only thing missing now is that the camera is not rotating relative to swipe speed, instead it looks if it is rotating at a constant speed. I have been searching and going through different threads but can't figure it out. I will be grateful if somebody can point me into right direction or share the code.
Your answer
![](https://koobas.hobune.stream/wayback/20220612155931im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Turret on Tank rotating fine until I'm not flat on ground 1 Answer
Rigidbody slowly moves 1 Answer
Melee & range ai 0 Answers
How to move an airplane in the Z axis? 0 Answers