Sign in to follow this  

World collision (racing game)

This topic is 4664 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

Hi ! I'm doing a racing game but I have some problem with collision detection and collision response. The world is a big .X file that is partitionned with a octree. I can detect if a collision occur betwen my last position and my new with D3DXIntersect but I don't really know what to do with! In fact I want the wheel of my car to follow the world like we can see in some racing game where the world is not a simple heightmap I read the article "Collision Detection for Games Using Ellipsoids" but I don't know if it is what I should use to make a racing game So your help is welcome !! Thanks in advance

Share this post


Link to post
Share on other sites
well, since you seems to have no prior knowledge of collision detection, there is no easy way, but either, follow the article you mentioned (it comes with source code and demo), or use a physics engine, which will remove a lot of pain. Or you can DIY (do it yourself) it, but it's a lot of work. Detection = easy. Response and contact calculation = hard. Really, that swept sphere article is the simplest solution if you must insist on doing everything yourself.


As for ready-made physics engines, Novodex springs to mind.

Share this post


Link to post
Share on other sites

This topic is 4664 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.

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

Sign in to follow this