Add math.lerp function

I actually support feature requests like these.

Implementing common math functions into the engine itself is way more efficient than writing it in Luau since in-engine code is much more performant.

Luau is a interpreted language that runs on a virtual machine most of the time.
And Native Luau doesn’t work it’s magic on everything all the time.

While we’re at it, having a function for reflecting/flipping Vectors and CFrames on a given axis would also be very nice to have.

2 Likes

Implement support for math.lerp by zeux · Pull Request #1608 · luau-lang/luau saw this today, someone implemented it and made a PR that got merged.

1 Like

It is merged! It probably will come in the next week’s Studio release.