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

Is there a way to Lerp models?

Asked by 4 years ago
Edited 4 years ago

This question has been solved by the original poster.

I know using SetPrimaryPartCFrame to teleport models, but I'm wondering if there is a way to Lerp them? This is my tried, but failed, attempt.

local Pickle = game.Workspace.Pickle
for i = 0, 0.05, 0 do
      Pickle.PrimaryPart.CFrame = Pickle.PrimaryPart.CFrame:Lerp(game.Workspace.HuhPart.CFrame, i)
end

When I run it, nothing happens, and the output doesn't show any errors. So is it possible to Lerp models? Also the for i = thing is for a smoother Lerp

0
Oh, thanks. I didn't know there was already a question on it. Cynical_Innovation 595 — 4y

Answer this question