Racing AI Help

Hello,

I’m developing a racing game prototype and want it to use a basic racing “AI” system. I’m using the Gotow tutorial (now defunct, but archived here). The AI cars have a basic navigation system, but no awareness of other vehicles and obstacles. Are there any resources or projects that I can reference to give AI cars rudimentary vehicle and obstacle avoidance as they move along a set of waypoints?

Thanks!

You could just check with a raycast to see if there is a collider infront of the car, then turn accordingly until the path is clear.

Here’s a good little explanation with pictures: http://forum.unity3d.com/threads/217662-How-we-created-our-vehicle-AI-for-3-different-game-types
Just scroll down to the Object Avoidance.