In the previous post we had a look at what Bézier curves are and how they can form a spline. In this post we will have a look at how the code storing such a spline is going to work. For this part I will be using C# and making use of Unity’s Vector2 classes. As I mentioned before, I will only need open paths. Moreover, I will only need 2D (horizontal plane) paths as the height will be given...
Cubic Bézier spline
C