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?
Are you getting any errors? Or it just doesn't work?
Any chance of posting the offending code?
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.
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?
Answer by Chuyannnnn
May 15, 2010 at 03:39 PM
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 :)
Answer by maciekish
Jan 26, 2012 at 01:02 PM
I just removed the MouseLook script from the main camera and modified the values on the FirstPersonController directly. Worked a charm.
I agree with this idea. There is no point in having a mouselook script on the camera and on the controller.
Answer by shashank_agg
Dec 21, 2013 at 04:45 PM
Disable the mouse look script for the camera inside the controller..worked for me..
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
I Want to change ,y sensibility on my MouseLook script
Mouse look Y axis sensitivity doesn't change
Aim Assist Script Problems
Toggle camera sensitivity
Unity 5 access First Person Controller Mouse Look Sensitivity via script