Making my camera *smooth like butter*

Did you test it in the Studio or by actually starting the game? If you test in the studio, not that it limits your FPS and performance. So while it helps you to optimise your game more efficiently, it will definitely lower the game smoothness.

Second, the RenderStepped event runs every second 30 or 60 times, depending on your framerate. It means that every frame lasts for about 0.017 seconds, and you make the tween last for 0.1 seconds. If you’re trying to make the camera movement look smoother, I recommend you use linear interpolation (LERP) instead of tweeting.

rS.RenderStepped:Connect(function()
	cameraPart.Position = cameraPart.Position:lerp(root.Position, 0.8) + Vector3.new(0, 25, 30) -- You can adjust the speed and "smoothness" by increasing or decreasing the "0.8", just make sure its a value between 0 and 1
	camera.CFrame = cameraPart.CFrame -- Set the camera's CFrame to the part's Cframe AFTER you have moved the part, so the camera gets moved correctly
end)

Make sure to read my notes too!
Hope this helps

3 Likes