Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Get Your Kicks On Loop 66

Sign in to follow this  


Finally! It took longer than expected (I had some issues with the collision detection), but I finally have the driving code working. That means, I can finally drive around these crazy tracks. As expected, because the tracks that I have were created before I even knew how the cars would handle or anything, not all of the turns/curves/loops are as forgiving as I'd like.

Some screenshots (note that the car is not actually going to be a sphere, but I needed something quick to represent the car):

Click to enlarge

Because the car is eventually going to be hovering, the driving control doesn't have to be as accurate to real life as it would if the car had wheels. So I added some dampening to the sideways motion (Essentially lateral friction to keep the car from moving sideways, unless it's skidding), but didn't have to do a full-on friction model. Plus, the car has a force-field (or whatever they will call those things in the future), so the walls actually bounce the car more like a pinball bumper than in a realistic fashion (the force field applies some bounce force).

Anyway, now that I have the cars driving, it's time for the next huge step: Driver AI.

Note that I have absolutely no idea at all how to write an AI to drive around my loopy sorts of courses. Time to do some research!
Sign in to follow this  


Recommended Comments

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!