Answers for "lerp value 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
1

how to lerp a number roblox

function InverseLerp(a, b, v)
	return (-a+v)/(-a+b)
end
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language