CameraModule.OrbitalCamera error

Reproduction steps:
enable orbital camera

Staff forgot to pass over the dt argument to this function within the module.
Took me a minute to troubleshoot.

Line 220 under CameraModule.OrbitalCamera.

--snippet from the module
function OrbitalCamera:Update(dt: number): (CFrame, CFrame)
	local now = tick()
	local timeDelta = (now - self.lastUpdate)
	local userPanningTheCamera = CameraInput.getRotation(dt) ~= Vector2.new()
--                                                       ^
--                                          what you forgot to add

Thanks for reading!

Expected behavior

The orbital camera setting to work as normal without printing errors to output each step.

original source:

8 Likes

I can confirm this is occuring. The orbital camera mode doesn’t work anymore

1 Like

Thanks for the report! I filed a ticket in our internal database and we’ll follow up when we have an update for you.

1 Like

Still happening 16d later, pls fix, trying to use in a project and still can’t without editing CameraModule

2 Likes

RIP orbital camera.
It’s been a month since the last time we were together, but it feels like yesterday. I can still see you playfully going around me. You’ll be missed. :face_holding_back_tears:

They added the flag “FFlagUserFixOrbitalCam” which when set to true fixes this issue. Not sure why they used a flag for a basic two letter fix but ok.

Currently rolled out in the PlayerModule so if you enable the flag OrbitalCamera magically works again.