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

How can I CFrame large models smoothly across all clients?

Asked by
Azuc 112
5 years ago

Right now im moving large models (40+) using this method:

for i=1, 33 do
        Door1:SetPrimaryPartCFrame(Door1:GetPrimaryPartCFrame() * CFrame.new(0- .12,0,0))
        Door2:SetPrimaryPartCFrame(Door2:GetPrimaryPartCFrame() * CFrame.new(0+ .12,0,0))
    wait(0.03)

The only issue is, sometimes this just isnt smooth at all, like it will freeze up for a second then move some more and repeat etc.

Im sure there is a better way to do this.

Answer this question