How to Use Lerp (Unity Tutorial)

Опубликовано: 21 Октябрь 2025
на канале: Ketra Games
88,439
2.3k

In this Unity game development tutorial we're going to look at the mathematical function, Lerp, or linear interpolation.

This function allows us to linearly interpolate between two values, and is most commonly used for changing values over a period of time.

While its usage is really common in Unity, it's quite often misunderstood, and can easily be used in the wrong way.

The final script from the video can be found here - https://dotnetfiddle.net/IXDhla

Support us on Patreon -   / ketragames  
or if you'd like to buy us a coffee - https://ko-fi.com/ketragames

00:00 - Introduction
00:25 - Using Lerp the correct way
03:20 - Common incorrect usage of Lerp
04:32 - Using Lerp for non linear interpolation
06:19 - Summary

#KetraGames #LearnUnity #UnityTutorials #UnityTips