How to change camera sentivity for all devices

so those first person shooter games have a feature where when you aim your camera sensitivity gets lower. I have been able to do this with UserInputService’s mouse delta sensitivity. However, when testing on touch devices and gamepads, it obviously doesn’t work because those inputs don’t have a mouse. Where in the PlayerModule can I fork and change this?

you can change the sensitivity values in PlayerModule.CameraModule.CameraInput near the top of the script.

local ROTATION_SPEED_KEYS = math.rad(120) -- (rad/s)
local ROTATION_SPEED_MOUSE = Vector2.new(1, 0.77)*math.rad(0.5) -- (rad/s)
local ROTATION_SPEED_POINTERACTION = Vector2.new(1, 0.77)*math.rad(7) -- (rad/s)
local ROTATION_SPEED_TOUCH = Vector2.new(1, 0.66)*math.rad(1) -- (rad/s)
local ROTATION_SPEED_GAMEPAD = Vector2.new(1, 0.77)*math.rad(4) -- (rad/s)
1 Like

Thank you! I already found how though.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.