Lerping is one of the foundational things you need to know about in video game development! There are so many use cases for lerping it's impossible to name them all! Almost any time you want to rotate, move, or change a value over time, lerping is an option.
As always, all code from this video is available on GitHub: https://github.com/llamacademy/lerping-fundamentals
- Vector3 Lerp: https://docs.unity3d.com/ScriptReference/Vector3.Lerp.html
- Quaternion Lerp: https://docs.unity3d.com/ScriptReference/Quaternion.Lerp.html
- Quaternion Slerp: https://docs.unity3d.com/ScriptReference/Quaternion.Slerp.html
- Color Lerp: https://docs.unity3d.com/ScriptReference/Color.Lerp.html
- Mathf Lerp: https://docs.unity3d.com/ScriptReference/Mathf.Lerp.html
- Wikipedia Slerp & Lerp: https://en.wikipedia.org/wiki/Slerp
Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.
- YOUR NAME HERE!
- YOUR NAME HERE!
- Raphael
- Andrew Bowen
- Gerald Anderson
- AudemKay
- Paul Berry
- Matt Parkin
- YOUR NAME HERE!
- Bastian
- Trey Briggs
- YOUR NAME HERE!
Interested in other AI Topics in Unity, or other tutorials on Unity in general?
- Requires Unity 2020.3 LTS or higher.