Archived

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

Kaezin

Advanced collision detection

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