What do you want to achieve? I would like to achieve a field of view for my scope that allows the mouse to still move smoothly.
What is the issue? The issue is that right now when the field of view is lowered, the mouse seems to only move in specific units and cannot move freely.
What solutions have you tried so far? I have tried changing the field of view and could not find any alternate methods of zooming.
You could try a method many AAA games use for magnification smoothing: sensitivity scaling.
local UIS = game:GetService("UserInputService")
local cam = workspace.CurrentCamera
local ogSens = UIS.MouseDeltaSensitivity
local sensFactor = 100 -- larger # = more rigid
local function ADS(enable)
if enable then
UIS.MouseDeltaSensitivity = ogSens / (sensFactor / cam.FieldOfView)
else
UIS.MouseDeltaSensitivity = ogSens
end
end
-- zoom:
ADS(true)
-- unzoom:
ADS(false)
If you’re still finding issues with the first-person camera, I recommend you look into camera lerping for further smoothing.