Nice and Simple WayPoint Based AI Car Unity Package

Hello guys, I was trying to use Unity AI Car script from Ahmedsaed (https://github.com/Ahmedsaed/CarAI-Unity) but I found it somehow interesting but to me it’s too complicated.

Then I decided to modify it to make it simpler. I don’t want the NavMesh thingy that he used in his script, so I removed parts that I don’t need, then I came up with this modified package.

The goal is to make a car object that moves using its wheels and acceleration and braking system came with Unity wheel colliders along the way points that we defined on our Unity scene.

So for example, I’ve placed several empty game objects in the scene as way point then add them to the car script then the car will move to each points, and we can make it moving forever in loop (patrol) or stop at the last point.

You will see how it works in this YouTube video:

To download the package, get it from my Drive link: https://drive.google.com/file/d/13oTNnQ4gaeDlMKtC-KodFImucuGnAwTm/view?usp=sharing

Leave a Reply

Your email address will not be published. Required fields are marked *