AI Racer Creation

To make a working AI, follow the next steps:

circle-info

At the current moment, you are advised to make the vehicle the AI will be using with high-grip tires. Otherwise, it can have problems following the track and avoiding obstacles

  1. Add the "AIBrain" component

circle-info

Prefab with AI Brain and other components is located at "CustomVehicleController/Demo/Prefabs", you can use it instead.

  1. Drag and drop the references to the scripts that were added and the "CustomVehicleController" component. Change the "AI Type" to "Racer".

Proceed to the setup tutorial:

AI Racer Setupchevron-right

Last updated