https://en.wikipedia.org/wiki/Centri...0%93Rom_spline
This is possibly the most useful spline / curve for game developers, you simply put points, and the curve points will be generated that will go thru them and do nice and logical, reasonable turns.
Example source implementation (in 2d)
https://github.com/JernejL/Centripet...pascal-example
Bookmarks