Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by bjqrn0 · Sep 08, 2014 at 05:04 AM · gameplaymouse input

Mouse input feels sketchy. Any way to fix?

I'm working on mouse look for an FPS game. Currently, I'm currently using the MouseLook code that's supplied with Unity. However, the input doesn't feel very crisp and I suspect it may be due to a low mouse polling rate somewhere. Is there any way to fix this and make the mouse input feel similar to, say, Quake or Half-Life?

Also, the sensitivity for the Y-axis is way higher than that of the X-axis. Is there a reason for this? I'm trying to get exactly the same sensitivity for both axes.

Thanks!

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Stardog · May 23, 2016 at 12:40 PM 0
Share

Try running your exported .exe in compatability mode with "Disable desktop composition" and "visual themes" selected.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by ComeSweetDeath · Sep 08, 2014 at 05:23 AM

With the lack of crispness in the input problem, just a guess, but it could be caused by the input not being detected in Update but FixedUpdate. I'm just guessing idk :(

With the mouse Y-Axis more sensitive than X, try go to Edit Menu>Project Settings> Input Manager> Mouse Y> and Sensitivity, and reduce that value. If that value is not working, then in your script, don't directly use mouse Y input. But refer to that value and then reduce it before using it, so maybe something like:

var mouseY : float = Input.GetAxis("Mouse Y") * 0.5;

and then use that mouseY variable value.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bjqrn0 · Sep 08, 2014 at 10:20 AM 0
Share

I've tried Update, LateUpdate and FixedUpdate. Same issue with all of them.

The Y sensitivity stuff you mention is essentially what I'm doing right now, but that's just a workaround, I want an actual solution. Something like grabbing the mouse directly through the hardware would probably be the way to go, but I don't know if this is possible in Unity.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

NEED HELP!!! 0 Answers

Import a 3D model in Game (during runtime in GUI) 3 Answers

My game is too big 1 Answer

Moving an object which changes direction overtime and instantiates a new clone on the last position it left 1 Answer

Why am I getting this error message? (C#) 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges