Hello! So, I’m trying to set camera upside down but the player will still be in the control of the camera.
I found this script which does what I want, where I can control the camera while it’s upside down.
rs = game:GetService("RunService")
c = game.Workspace.CurrentCamera
numb = 100
repeat
numb = numb - 1
c.CoordinateFrame = c.CoordinateFrame
* CFrame.Angles(0, 0, math.rad(180))
rs.RenderStepped:wait()
until numb == 0
But well, the problem with this script is I want to know the exact time when it will end. But since I can’t calculate it since it uses RenderStepped and it relies on user’s machine. I did another script like this
local cc = workspace.CurrentCamera
cc.CameraType = Enum.CameraType.Scriptable
cc.CFrame = cc.CFrame * CFrame.Angles(0,0,math.rad(180))
It works, but this time the player cannot control camera. I tried CameraSubject but it didn’t work.
I tried to find several posts about this, I found one (probably) which tells exact problem but it’s unanswered, there was other posts which tells me to use CameraSubject but as I saw it doesn’t works when CameraType is set to scriptable.
Any help is appreciated, thanks!