Search Unity

Mouse sensitivity.

Discussion in 'Scripting' started by W4RH4WK117, Apr 6, 2011.

  1. W4RH4WK117

    W4RH4WK117

    Joined:
    Feb 6, 2011
    Posts:
    129
    How can I go about making a mouse sensitivity script for y and x axis of the mouse. I want to get smooth mouse movement like in source games, e.g Left 4 dead. Is there a code I can look at or can I modify the mouse look script and mess around with camera speeds at which it rotates?
     
    Last edited: Apr 6, 2011
  2. bigmisterb

    bigmisterb

    Joined:
    Nov 6, 2010
    Posts:
    4,221
    You would need to post the code that you are using for the mouse control. I am sure there is a mouse speed somewhere in there.
     
  3. W4RH4WK117

    W4RH4WK117

    Joined:
    Feb 6, 2011
    Posts:
    129
    Oright I'm at school so when I get home I will post that code.