|
|
|
Oct. 7, 2009
AI Car Explanation
|
|
So... after fourteen months, I've decided to post again. Back in February, somebody asked me a question about the artificial intelligence of my car. Um... I don't actually have a car; we are talking about a "virtual" car. Anyway, to the point.
The AI is done predominately with rays as sensors, using logic bricks to transfer properties and do the actual work, and using a Python script to make sense of it all. I have a couple of screenshots to give you an idea of what I'm talking about because it would be hard to explain it all.
This is showing the invisible stuff that you don't see (was that redundant?) while running the exe.

And this is a glance behind the scenes.

Basically, the rays (which are shown as the variously sized lines extruding from the car) send information to the Python script which determines what to do and, in turn, sends commands to the logic bricks which preform the neccessary actions (like steering, accelerating, and braking). The big pyramidal-ish object in front of the car, works in conjunction with the cube on the track to make sure the car is going in the right direction.
Ever since that 'tragic' day in June of '08 on which I lost my Blender work, I have kind of gotten away from using Blender, but I was able to recover a very few of the lost files and I just recently remembered how much I like Blender. So, who knows... I just might start again. And, of course, Blender is getting better all the time; especially with v2.5 to come! |
| •
Post A Comment! •
Send to a Friend!
|
| |
|
|
|
|
|
Jan. 7, 2010 - pretty cool!
visit my blog at http://www.bshep.net/