CameraService: A New Camera for a New Roblox

managed to fix it by only zeroing the ‘differenceVector’ if the user isn’t on a console

Changed:

if UserInputService.GamepadEnabled then 
		cameraRotation -= differenceVector
end

differenceVector = Vector2.zero

to

if UserInputService.GamepadEnabled then
	cameraRotation -= differenceVector
else
	differenceVector = Vector2.zero
end

I recommend you put this in the module by default, because this bug makes it really annoying to play games with CameraService for controller users

1 Like

Will push into prod, thanks!

Edit: The change has been pushed to GitHub & Roblox Marketplace.

As stated prior, there are some compatibility issues (most notable in R6 avatars) due to Roblox’s 60-120-240 FPS update. When I designed CameraService in 2022, much of the mechanics under-the-hood are frame-dependent and optimal for 60FPS, since everything was a 60FPS cap at the time. I’ve begun work on upgrading CameraService to be more compatible, but a full-fledged patch on my own end will likely take weeks or months to release from now.

At the moment, my advice would be to use R15 if possible, and to encourage players to use the default 60 FPS settings. As this is an open-sourced project, you (and any other developers) are always free to make your own forks or pull requests to address this :slight_smile: