Shift lock breaks mousewheel camera zoom

I’m having a REALLY specific problem where if i go into shift lock, scrolling my mouse wheel just stops zooming the camera in/out, unless, for some reason, I move my camera while scrolling the wheel. I am completely lost on what might even be the cause of this - i don’t have any custom playermodules and there are very little camera scripts in my game, aside from changing the FOV sometimes.

example:


in the video, im scrolling pretty much without stopping both in free mouse and shift lock, but you can see that in shift lock camera doesn’t zoom unless im simultaneously moving the camera side-to-side.

1 Like

Try this..

local sp = game:GetService("StarterPlayer")
sp.EnableMouseLockOption = false
sp.CameraMode = Enum.CameraMode.Classic

Also you could just set that up in the Studio interface.

1 Like

the problem is that i still want shift lock to be an option in my game, so disabling it wouldn’t work

1 Like

the problem somehow fixed itself, so i guess that’s it?

3 Likes

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