Jump to content
  • Advertisement
Sign in to follow this  
tommy-t

Race game collision

This topic is 2902 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey all.
Can somebody explain how the collision detection works for race tracks in games like need for speed or wipeout?

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I don't know personally what collision systems those particular games use. However, there are several physics/collision engines available (Ogre, Bullet, ODE, etc.) which have been used for commercial games. Many of the websites for those engines "advertise" which games they've been used for. You may want to take a look at those pages.

In general, each graphical component (walls, cars, etc.) has a collision object/shape associated with it. Each frame, collision detection is performed, looking for objects which intersect. Information on each collision is stored and, following the collision detection phase, that information is passed to the physics engine which determines how each object responds to the forces on it that frame.

The corresponding graphical component for each object is then drawn appropriately for its new position/rotation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!