I want to create a polyline which should be quite smooth for my game. A point is following moving on the line, but can accelerate/brake and has to get slower in corners.
In the end I want to set up some stats (good acceleration, low topspeed, "good" cornering") and simulate the time it has taken to go from start to finish (drawning it to the player would be just a bonus). Yes, this will be some sort of a racing simulation.
I'm quite new to this style of games and I have no idea to do that. I don't even know how to create such a polyline I can easily use.
How would I start implementing such a mechanism?