@WickedlyAwesomelyMe Scripting Helpers
Questions Ask a Question Scripting Glossary About Blog Help
Search
Sign Up Log in
How does one change the mouse sensitivity?
Hello there.
In some Roblox shooter games, I have noticed that, even if you're in first person, you have the mouse sensitivity of third person. Take a look at Tactical Assault for example, you actually have a setting to change the mouse sensitivity.
I'm not requesting a mouse sensitivity script, I just need a step-by-step answer so that I can make one myself.
Thanks in advance,
~coo1o
Log in to vote 0
ASKED BY
coo1o 42
1 year ago
Edited 1 year ago
1 answer
Here's YouTubes' Mouse Sensitivity script: Mouse Sensitivity Script
Here's my Gui version of YouTubes' script: Mouse Sensitivity Gui
This is how the Mouse Sensitivity scripts basically work:
1) The script gets the offset between the cframe of the camera when you moved the mouse and the cframe of the camera before you moved the mouse
2) The script takes that offset and gets the X and Y rotations of the cframe
3) The script rotates the camera by the X and the Y rotations multiplied by the Sensitivity (so if X and Y are 1 and Sensitivity is 0.5, the camera will be rotated by (0.5, 0.5))
About Glossary Statistics ROBLOX Legal Contact
© 2013-2016 Scripting Helpers