Definition for “math.lerp” appears to have been added, but does not run properly in Studio, giving “attempt to call a nil value”. Roblox Studio version is Version 0.658.0.6580461 (64bit).
Definition for “math.lerp” appears to have been added, but does not run properly in Studio, giving “attempt to call a nil value”. Roblox Studio version is Version 0.658.0.6580461 (64bit).
I just put math.lerp into a script and I’m having the same problem with “attempt to call a nil value”. You could just use this function for now:
function lerp(a, b, t)
return a + (b - a) * t
end
--lerp(1, 2, 3)
--prints 4
Why would they let you add it in a script if you cant use it?
Likely testing before public release.
656 release notes came out on the 15th, math.lerp
is still pending:
Sure, but they should not enable the FFlag to all Roblox Studio users to see the definition, so people think “oh, it’s added!”
Release Notes pending are not accurate. For example, Occlusion Culling is still marked as pending on its release note. I stay very up-to-date with them.
Thank you for the report.
The new feature is not enabled yet.
We do not have plans to fix the issue of autocomplete appearing a bit earlier.
Thank you for the response. Any idea when the feature will be enabled?
Unfortunately, some updates of a few platforms are behind the schedule.
We are looking at the week of February 10th.