How to make AI vehicles race along a track?

Hello,

I am trying to make AI bots go form a target point to the next, using blueprint. I found a lot of tutorials about target points and AI bots, but none seem to work for vehicles. Can you give me some pointers please? Thanks.

I am trying to copy a project by Peter L. Newton: Unreal Engine 4 Car A.I. Template Preview - YouTube
I am just interested in the waypoint-to-waypoint behaviour, I don’t need anything fancier than that. But when I try to plug the car reference into the target slot, it just won’t let me: it says the “reference is not compatible”.

27239-referencenotcompatible.jpg

What does it mean? Can someone explain please?

I just copied and pasted the logic across from Peter’s project on to mine. For some reason the car manages to drive to the first waypoint, but then not the second one :frowning:

Thank you in advance for your help!

You need to delete the node and add it again.

Also ensure aiPawn is set to the correct object (AISedan)