I’m not sure if this is a “bug” or not, so I’m putting it in the support category for now.
For some reason, as of recently [the last couple days or so, I’m not quite sure when exactly], I have been unable to accurately set the CFrame of the players CurrentCamera when the camera is in any mode other than Scriptable. I’m not sure if this is an intended effect, but it is certainly new and I’m a little concerned. Two of my cut scenes for Escape Room positioned the players’ camera while it was in the CameraType “Watch”, to create the effect that the stationary camera followed the player as they moved. However, now this code breaks and does not put the camera at the proper CFrame.
LocalScript Code in PlayerGui:
camera = game.Workspace.CurrentCamera camera.CFrame = game.Workspace.CameraPart.CFrame
CameraType = Enum.CameraType.Custom [Wrong CFrame/Position]:
CameraType = Enum.CameraType.Watch [No effect]:
CameraType = Enum.CameraType.Scriptable
Only when the CameraType is Scriptable does the expected result occur.
Please let me know if I am simply being dumb, and what I should be doing, or if this is an issue.