exp_lol123
(Unavailable)
September 7, 2021, 2:18pm
#1
I tried to change the camera multiple times but it hasn’t worked. To put it in context, when I attempted to edit the camera subject using a script, it’d show the sky and not the earth and the moon.
Here’s an image:
Here’s the script:
workspace.CurrentCamera.CameraSubject = workspace.Camera2
Here’s where the script is at:
Here’s the part:
(I put a selection box to this part since it is invisible).
Here’s what I want the player to see:
Is workspace.Camera2 anchored? Might not be a solution but just a question, anchoring the camera part could be very useful.
exp_lol123
(Unavailable)
September 7, 2021, 2:26pm
#3
It wasn’t anchored, tried anchoring it and it didn’t work.
exp_lol123
(Unavailable)
September 12, 2021, 6:51pm
#4
I still need help on this topic!
Ioveczour
(Sulo)
September 12, 2021, 7:01pm
#5
Doubt it will work, but might as well try.
repeat wait()
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
until workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = workspace.Camera2.CFrame
To change it back:
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
1 Like