Did you change the Camera.CFrame to be equal to another CFrame value?
Camera.CFrame = CFrame.new(game.Workspace.CamPart.CFrame)
Did you change the Camera.CFrame to be equal to another CFrame value?
Camera.CFrame = CFrame.new(game.Workspace.CamPart.CFrame)
Yes I did. I am going to send the new script.
i donât think you can put a CFrame in a CFrame like that, you would have to do something like this:
Camera.CFrame = CFrame.new(game.Workspace.CamPart.Position)
, the CFrame constructor takes a vector3 position. Also note that when you create a new CFrame it will not maintain rotation, in other words it will not âkeepâ the partâs rotation
Thanks! It worked!
30char
You are in every way shape and form correct. My apologies, lmao.
Okay, to get out of the camera position would you change the camera back to the regular state?
Change the CameraType
to Enum.CameraType.Custom
Like this? Sorry to bother.
script.Parent.MouseButton1Click:Connect(function()
game.Workspace.CurrentCamera = Enum.CameraType.Custom
end)
Youâre not bothering at all lmao, gives me something to do with my ever so boring life. Anyways, it wouldnât be game.Workspace.CurrentCamera = *bla bla bla*
since âCurrentCameraâ is an object value. You would have to change the CameraType value of CurrentCamera. To do so, game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
Okay! Awesome it worked! Tysm! I understand this a lot more.
No worries, youâre actually like one of the first people I ACTUALLY helped. Iâm glad I could help, and glad I could âexplainâ⌠Somewhat⌠xD