RootEntry
(RootAlNaser)
May 14, 2020, 4:17pm
#1
Hello, I am working on a Main Menu.
And I want the Camera to show a house so I change the Camera’s CameraType property to Scriptable and then set the Cameras CFrame to the part, but when I join the game the camera is somewhere completely different.
Before game:
After:
Code:
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = workspace.MainMenuView.CamPart.CFrame
Thanks in advance.
Try changing the CameraSubject to the Part or Model you want it to be on maybe?
RootEntry
(RootAlNaser)
May 14, 2020, 4:20pm
#3
I already tried doing that. It does not affect anything.
Try rotating the actual camera part in the opposite direction.
MightTea
(MightTea)
May 15, 2020, 7:22am
#5
I’ll recommend adding:
repeat wait() until workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable;
and you could also try:
workspace.CurrentCamera.CFrame = CFrame.new(workspace.MainMenuView.CamPart.CFrame) + vector3.new(0,1,0) --<Just so you can debug