Jump to content

Ols (Away)

Sign in to follow this  
  • entries
  • comments
  • views

Ols - all right corners

Sign in to follow this  


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...
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!