I’m not sure if this is a bug or not but if it is I will make a new post there. For some reason, starting a day or so ago, scrolling on my mouse (aka zooming camera in/out) activates shiftlock every time. This ONLY happens when I have the keybind as LeftControl. Nothing else. This is using the default roblox camera script and changing the keybind like this:
local MouseLockScript = script.Parent:WaitForChild("PlayerModule"):WaitForChild("CameraModule"):WaitForChild("MouseLockController")
MouseLockScript:WaitForChild("BoundKeys").Value = "LeftControl"
And also, this only happens in studio. This makes it really annoying to post on my devlog. Any clue why this is happening?
(a comparison of me shiftlocking normally and when I scroll on my mouse)
internally the default roblox studio camera controller uses ContextActionService bindings that sometimes conflict with editor viewport input, so when the modifier key is leftcontrol, Studio appears to interpret scroll wheel input as a camera-mode modifier combo. now since PlayerModule runs inside the same environment during Play Solo, the scroll event is leaking into the MouseLock toggle path when Ctrl is rebound. This thing has been around and roblox hasnt fixed it for some reason
Ah, so, glad to know this isn’t my fault, yet still frustrated it doesn’t really have a fix since it’s a bug on roblox’s part.. I’m also confused as to why this just started right now, since I’ve had that keybind bound since I started developing the game, really.