Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I update this camera so it isn't choppy?

I'm trying to make a gun scope, and this camera just steers off into a new direction after I move, i've tried doing while loops to update it but even then it's choppy and looks awful when I move. I've also tried adjusting the Cframes to be it as well, but still choppy. is there a better way to constantly update this?

mouse.Button2Down:Connect(function() local CurrentCamera = game.Workspace.CurrentCamera CurrentCamera.CameraSubject = script.Parent.Sight CurrentCamera.CameraType = "Scriptable" end) end)

1 answer

mouse.Button2Down:Connect(function()
	local camera = game.Workspace.CurrentCamera
	camera.CFrame = CFrame.new(aimPart.Position, (aimPart.Position + Vector3.new(1,0,0)))
end) 

You don't need to change only the CFrame

This discussion is preserved as it was. New answers, comments, and votes are closed.