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

How do make this brick move more smoothly?

Asked by
0x72 20
9 years ago

So, i'm making a following brick. and it buzzes when i move; how to i make it more smoother?

brick.CFrame = Workspace['0x14'].Torso.CFrame*CFrame.new(4,1,-8)*CFrame.Angles(math.rad(0.1),0,0)
0
:/ 0x72 20 — 9y

1 answer

Log in to vote
0
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
9 years ago

The best way to make that smoother (for you at least) is to use RenderStepped.

Game.RunService.RenderStepped:wait() --waits for the next frame. This is capped internally at 1/60th of a second, aka 60 fps.

It will look clunkier for everyone else, since it will have to replicate to the server and then to other players but it will be perfectly smooth for you.

If you use FilteringEnabled and apply the RenderStepped technique to every Player's client, then you'll get optimal smoothness for every player. :)

Ad

Answer this question