Proper spline-road angles

Hello, in my game I added the ability for the player to place roads using splines, but there is a problem if there is too sharp of an angle between two consecutive spline points - the road starts to overlap onto another section of the road and it doesn’t look good (see screenshot). I think the solution is to limit the angle at which the spline can bend, but I don’t know how to do it (in C++).

1 Like