|
Hi, I've been using the standard mouse look script but I can't seem to change the sensitivity of the Y axis. I have made sure that XandY is selected in the axes, and have tried to change the sensitivity in the code as well as in the interface. I also tried to replace the code with the one found here - http://forum.unity3d.com/viewtopic.php?t=42003&highlight=sensitivity, but it still doesn't do anything. Does anyone know why this doesn't work? thanks
(comments are locked)
|
|
I just removed the MouseLook script from the main camera and modified the values on the FirstPersonController directly. Worked a charm.
(comments are locked)
|
|
Are you using the First Person Controller prefab from the standard asset? If so try modify the "Sensitivity Y" variable of the script attached to the Main Camera instead of the one attached to the prefab itself. Hope this helps. helped me a lot! Thanks :)
Nov 06 '12 at 05:23 PM
Saturnix
(comments are locked)
|

Are you getting any errors? Or it just doesn't work? Any chance of posting the offending code? -Larry
Well, you can view the code from the link in the message, as I haven't changed it at all. I wondered whether it could be to do with my input axes, although I haven't changed these from the standard either :/
I'm not getting any errors either
I just created a test project, containing only a terrain, a camera and the script from your link. The script appears to be working just fine. Adjusting the sensitivity did impact the panning. Making small changes to the sensitivity didn't have a lot of impact, but large changes seem to work fine. To test that it is working at all, try setting the sensitivity to -25 and see if it moves opposite what it did before. -Larry
Yeah I tried it on -25 but it's just acting as normal. Weird, I don't know what's wrong!
Do you have any other scripts attached that might be interfering? The C# mouse look script maybe?