I want to have the smoothest camera movement in my game as possible. This is how I do it currently (in a local script):
while wait(1/30) do --minimum time for wait() function
--code setting the camera's CameraSubject to a part
end
However, it is choppy at times. I recently learned about...
game:GetService("RunService").RenderStepped:wait()
...where it can run at 60 FPS.
So I decided to give it a try like this:
while true do
--code setting the camera's CameraSubject to a part
game:GetService("RunService").RenderStepped:wait()
end
This, however, is WAY too fast, and, as a result, the screen flickers. It's not aesthetically pleasing.
How can I alter RenderStepped:wait() to have the perfect FPS and be somewhere in between? Putting a number such as 2/60 inside of the wait() in this special RenderStepped function does not change anything.

1 comment
Actually, the smoothest cameras can go is when you use Interpolate.