How do you make something follow waypoints?

I am making a car racing game. For the computer’s car I want it to go toward waypoints in a list, but it only goes to the first one before swerving off the road. How do I fix this?

Look at my post in this thread:

Basically, it has an object that follows a bunch of objects based on the name of the object… I started with “Cube.001” and then just duplicated it a bunch (so subsequent cubes duplicated had the name “Cube.00x” where x was the waypoint number). This makes making the waypoints very easy… you just duplicate it and it’s already named for you.