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)
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)
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. :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
:/