The first system I will try to create was a system that uses Bezier curves. Using the YouTube video below I found out how Bezier curves work and how I could use them
Using this video, my plan was to get the AI car moving along a path set by the Bezier curve. I used this method because the corners would be smooth and the AI car would be able to drive perfectly every time.
The bezier curves work by using 4 different pivot points that are adjustable. When these points are adjusted the curve is moved which makes it easy to move the curve to where it is needed.
The pros:
The pros of Bezier curves is that it is very accurate in where the car will drive. This is because the car will stay on the path at all times, and follow the curves exactly.
The Cons:
the cons of Bezier curves is that it would look too smooth, as if is not actually driving but just floating in a way. I am also not sure that I will be able to adjust the speed of the car as the car moves along the curve at different speeds.