Automatic Line Smoothing with Bezier Curves | Unity Tutorial

Learn how to automatically smooth any set of Vector3’s with Bezier Curves! In this video we’ll create an Editor script to smooth a Line Renderer with the click of a button. You’ll implement 2 controls: ⚫ Smoothing Length ⚫ Smoothing Sections to control the Bezier Curves. There’s a lot more you can do with Bezier Curves! This is just the beginning. The key takeaways are understanding how we are choosing where to place the tangent points - with this and controlling where they are, you can do some really awesome things! As always, all code from this video is available on GitHub: Bezier Curve Wikipedia: ézier_curve Line Renderer APIs: Writing a Custom Inspector: Handles API:
Back to Top