I am messing around with camera manipulation and I've come across a problem. I set the coordinate frame of a camera to the focus. Here,

local Focus = game.Workspace.CurrentCamera.Focus*CFrame.new(0,0,0.05)
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(Focus.p)

That's the local script that sets the focus and coordinate frame. Now here what I'm trying to do.

	game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
	game.Workspace.CurrentCamera.CameraType = "Custom"
	game.Workspace.CurrentCamera.CoordinateFrame = Cframe.New (game.Players.LocalPlayer.Character.Humanoid)

I can't seem to get the coordinate frame to reset. Any help? Thanks!

1 comment

0

Try deleting the camera, it'll automatically re-insert itself on default settings.