Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Kaezin

Advanced collision detection

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

How do games like Halflife and Quake do their collision detection? With regards both to terrain/level and other player models. If they do something like bounding boxes, how do they know what part of the level to check with?

Share this post


Link to post
Share on other sites
Advertisement
BSPs.

BSP trees are well documented in books and on the internet - there are probably even some tutorials on this site.

I think Quake uses a standard bounding volume for all players. I''m not sure what it is, but a cylinder would make sense.

Share this post


Link to post
Share on other sites
quote:
Original post by jyk

I think Quake uses a standard bounding volume for all players. I''m not sure what it is, but a cylinder would make sense.


IIRC it uses BBoxes.

BSPs are just a form of speeding up the collision detection by finding the collision surfaces quicly. you can check out the source for Quake2 for more info.

Share this post


Link to post
Share on other sites
Ohhhh that makes a lot of sense. I knew about BSP trees but completely forgot they could be used like this

Share this post


Link to post
Share on other sites

  • 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!