Answers for "how to lerp number roblox"

1

how to lerp a number roblox

function Lerp(a, b, t)
	return a+(b-a)*t
end
Posted by: Guest on January-05-2021
5

Roblox Lerp Example

local part = game.Workspace.Part
local part2 = game.Workspace.Part2

for i = 0,1,.01 do
	part.CFrame = part.CFrame:Lerp(part2.CFrame, .5)
end
Posted by: Guest on October-29-2020

Browse Popular Code Answers by Language