|
i have a sniper and it zooms in, except im using the fps controller thing that came with unity and its in C#, and i dont know any C#. when i zoom in heaps moving the mouse 1 pixel across the screen will move the camera heaps so i cant aim at anything right. i want the sensitivity to go down to 1.5 when the right mouse button is down and go back to 15 when it is up, doesn anyone know how to do that?
(comments are locked)
|
|
You see those two values sensitivityX and sensitivityY? Make them go waaay down when you zoom in. Then put them back up again when you zoom out again! From another C# script: yes i know to do that but i dont know C# so i dont know how
Nov 09 '11 at 05:53 AM
sam32x
Fine fine I'll spell it out for you.
Nov 09 '11 at 05:55 AM
syclamoth
(comments are locked)
|

this is the script if you dont have it for some reason
Protip- learn some C#.
That is what I did as well. I really prefer JavaScript over C#, but I slowly learned C# and it has helped me a ton!