RakisahNew
(supercoolsledger)
#1
In my script, I set the camera mode to Scriptable and its position to the CCTV’s CFrame, but it faces downwards so I how can I make it face forwards?
Heres the script:
local lens = target:WaitForChild("Lens")
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = target.Lens.CFrame
Please reply if you can help
1 Like
I guess you can add a rotation to it, something like this:
local lens = target:WaitForChild("Lens")
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = target.Lens.CFrame * CFrame.Angles(0, math.pi/2, 0)
I’m not 100% sure which of the 3 parameters will need to be math.pi/2, so just mess around with it.
1 Like
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.