Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is runservice used in cframing, cameras, and etc.?

Asked by 6 years ago

So I dont understand why you need runservice, its used a lot in cameras and cframing but i really dont know why.

1 answer

Log in to vote
0
Answered by 6 years ago

RunService is used a lot in cameras and CFraming because sometimes the client (aka a user) isn't always running a stable 60 frames per second or the same framerate as you. With different frame rates, the animation you make could last 5 seconds while it could last 50 seconds for someone else. The reason RunService is great is because you can run a piece of code to counteract that delay per frame so an animation runs exactly the same for everyone regardless of the framerate condition.

You can read more about RunService here: http://wiki.roblox.com/index.php?title=API:Class/RunService

0
Oh wow thank you! Mr_MilkysButler 47 — 6y
Ad

Answer this question