I’m trying to make the camera have an offset from the character. And I want it to be still and follow the player without it twisting and rotating whenever the player turns.
I’ve tried to make the cam look at the humanoid root part, but it didnt really work. Here’s the local script I have the camera.
local char = script.Parent
local cam = workspace.CurrentCamera
cam.CameraType = Enum.CameraType.Scriptable
while true do
task.wait()
local lookAtCFRAME = CFrame.lookAt(char.PrimaryPart.Cam.Position, char.PrimaryPart.Position)
cam.CFrame = lookAtCFRAME
end
Yes, i want it to follow the player but staying pointing in the same world direction.
Using diffeent camera types don’t seem to be working though, prob because my cam is 45 degrees and behind the player.
What you could do is add an empty local script into startercharacterscripts named “CameraScript” which will automatically disable roblox’s custom camera stuff.
Nice.
To keep people from trying to Solve this post again in the future please mark the post that fixed it as the Solution.
If the Solution wasn’t on here then please post how you solved it so others with the same problem searching the forums can find your answer.