I only answered with way to make a curve that perfectly follows a designed game road plan. Catmull scales really well, there are no min-max and you don't need any specific spacing between them, only what your game desires. Best to test it i guess to see how it works. If you have just 1 segment in the middle of a straight, and 1 segment at the ends of it, it would (propably?) come out straight "curve" there. Just try it, see if it needs 3, 4 or 5 for long straights. Also might help if you put them near the end points.
Also to explain Catmull function to someone less familiar with it; Function takes 4 key-point parameters, and 1 float value. The float value is always in range of 0..1, and means progressive position between second and third keypoint. Sometimes calculated key-points are not looping from end to start, and so for start of a serie like that can be given the first key point twice, same for the end.
Bookmarks