So I just found a cool new way to move a camera using lookvector and Interpolation,but every time I use it doesn't face the right part instead it faces the baseplate,why?
How it is at first and how it turns out in the end.
LocalScript:
local Player = game.Players.LocalPlayer local Character = Player.Character local Camera = game.Workspace.CurrentCamera local Part = game.workspace.Part local Frame = script.Parent --------------------------- print(Part.CFrame.lookVector) Camera.CameraType = "Scriptable" Camera:Interpolate(CFrame.new(Part.CFrame.lookVector),CFrame.new(Character.Head.Position),1) --------------------------- Frame.Visible = true Frame:TweenPosition(UDim2.new(0, 0,0.592, 0),"Out","Back",0.7)
For some reason it won't show all of line 08.Try to click the view source.
Well, To my experience Scriptable CameraTypes are very odd in the way they work compared to another CameraType. So you will need to mess around with it until you get what you want