- Home /
Good AI for vehicles
Hey guys, I was wondering, does anyone know of any good car driving scripts/car AI scripts.
I have found a couple of tutorials on the internet, and they make the car drive, but it doesn't feel like a car (the handling and stuff is not good). I was aiming on trying to find scripts that would allow me to make a car and other AI cars like the ones in games like Grand Theft Auto and stuff like that. And just incase anyone thinks of it, I tried the unity car tutorial, but I couldn't seem to get it to work with my own car models..... :(
Thanks
-Grady
Answer by GluedBrain · May 31, 2013 at 04:46 PM
I'm not sure if I'm very late but this might help you link text
Answer by Meltdown · Sep 28, 2011 at 11:11 AM
Your best bet is to take a look at the UnitySteer library. It is a set of C# scripts you can apply to your objects to give them intelligent path-finding. You can create a set of waypoints on your track, and have the cars follow them.
For different levels of difficulty, create different waypoint sets. For example for easy opponents, create a waypoint set where the AI cars follow a wide/slow line around the track, for more difficult AI make them follow an optimised racing line set of waypoints around the track.
Good luck :)
Answer by JamesArndt · Dec 22, 2012 at 07:43 PM
Latest tutorial upload for all of you Unity folks. This is a video that will help you get simple AI going in your racing or traffic games. The video includes a 1.4MB download of the entire Unity project seen in this tutorial (look in the video description).
Your answer
Follow this Question
Related Questions
,,SeekSteer" problem... 1 Answer
Traffic Script 1 Answer
Car Ai - Calculate max corner speed 1 Answer
Animay play in editor 0 Answers
AI Script attached to Enemy and is Rotating around player 0 Answers