Archived

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

Collision detection in Quake

This topic is 5500 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 does collision detection in quake 1 work ? I''ve checked out the sources and looks like it uses convex hulls for this. Or something like that. And most quake clones basically just copied the original quake source for this. I was hoping that quake used solid leaf bsp trees, guess if i was dissapointed. So how exactly does it work?

Share this post


Link to post
Share on other sites
It does use solid-leaf BSPs, just it uses several copies of it. Each copy is for a particular sized box (16x16,32x32,64x64 I think). You just decide which size you need and clip the displacment line against the given tree.

I could be wrong in this, it''s been a while since I read the Q1 source.

Share this post


Link to post
Share on other sites
Both the Quake1 and the Quake2 engine sources are available under the GPL, and have been for quite some time.

www.quakesrc.org

-----------------------
"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else''s drivers, I assume it is their fault" - John Carmack

Share this post


Link to post
Share on other sites