Here's some car AI using Unity 3D using 1 waypoint for each corner. The hope is that after a while this should make a working traffic system.
Base code from here: http://www.gotow.net/andrew/blog/?page_id=78
The cars do settle into some nice motion at points, however the fact that thy all choose a random starting destination causes some crashes!
Slight tweakage should fix that.
I'll post code when its a bit more stable.
No comments:
Post a Comment