Horizontal scroll w/ mouse wheel breaks camera zoom and instead tilts camera

Another version of this bug is with apples mouses, which would make tilt the camera instead of zooming, even if you never pressed CTRL or did a side scroll, today, it got worse, when I do any scrolling with my mouse, it will tilt the camera in that direction and never stops doing that, which is where this bug is really annoying. I think it’s related to Roblox’s trackpad support. There’s probably not gonna be a fix to this bug as this bug post hasn’t gotten a reply from roblox staff yet, despite the bug report being around 9 months old.

Edit: This issue is now fixed, I still can’t zoom in/out but it isn’t that big of a problem

Edit 2: I have actually figured out where the problem is, it is in fact with Roblox’s trackpad support, here is the script I used to find out the issue (It’s a LocalScript)

local UserInputService = game:GetService("UserInputService")

UserInputService.PointerAction:Connect(function(a,b,c,d)
	print(a)
	print(b)
	print(c)
	print(d)
	print()
end)

The first argument is the argument you should be seeing when you are able to zoom, tells how much the wheel has moved, the second argument is a Vector2, which tells about tilting the camera, it’s supposed to only be above 0 in trackpad, but is also above 0 when you side scroll, the first number is when you scroll sideways and the second number is when you scroll vertically, when you scroll both ways (you can only do that in certain mouses), both numbers will be above 0. The third number is just for zooming using trackpad and the boolean just shows if the game already processed the event usually on UI elements. Here is the video I got explaining the issue not happening in studio but happening in live games (It’s a YT video cause it would not let me upload the video on the devforum)

16 Likes