Ols - all right corners

posted in Ols (Away)
Published February 18, 2005
Advertisement
Even though some of the corners were working the other day, I was really not very happy with the way taht it sometimes radically cut the corner in order to get to its destination. Therefore, rather than settling for second best, I went back to the drawing board - i.e. some pen and paper! - and rethought the way that the AI car is 'seeing' the track.

A slight alteration to the code and .......... ooh the suspense ........ it nows works AMAZINGLY! Even I am impressed, and that takes some doing. AI Car now expertly works its way around all the right hand turns and one left hand turn. Three more left hand turns to program and then I will finally be getting the completion of the AI cars' algortihms...
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement