How to make a Traffic Car AI?

Hey I want to make a car with AI but I don’t know how to do it, it is a gta type (which it is not, it is for a simple game, or maybe I will use this later) example: https://www.youtube.com/watch?v=1QGKh2znYSg&ab_channel=Jak343

Thanks for reading!

2 Likes

You should use Neural Network:

If you’re looking for a car that just moves from A to B, then yes, neural network training is all you theoretically need.
If you’re looking for a car that moves from A to B while also following traffic laws like stoplights and stopping in traffic, you will need some complicated logic in there as well. As far as I can tell, machine learning should handle the movement while a separate program should handle where to move.

If you do want to try machine learning, though, I would suggest waiting on it a bit so I can release my second library so you don’t have to deal with the dumpster fire that is the one linked above.

3 Likes