Archived

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

Chatterbox

3D Collision Detection

Recommended Posts

Hi, I have created a world in Direct3D, but I have no idea on how to do collision detection. Any advice on methods and code snippets would be appreciated. Thx - Chatterbox

Share this post


Link to post
Share on other sites
There's a lot of information on the net.
In particular, check out
http://www.cs.unc.edu/~geom/collide/index.shtml
Also, there's a discussion about
UNC's SWIFT collision detection package
at http://www.gamedev.net/community/forums/topic.asp?topic_id=80178

Basically, you'll want to tackle this problem in a couple
phases. You start with a very coarse collision filter which
figures out which objects are near eachother. There's no
sense in doing an indepth collision test on objects that are
far apart. Once you figure out which objects are close to
eachother, you have to see if their polygons intersect.



Steven Borkman
Home Page: http://www.acsu.buffalo.edu/~borkman/
Video Game Page: http://www-student.cse.buffalo.edu/~borkman/projects/game/index.php

Edited by - borkman on February 19, 2002 3:02:13 AM

Share this post


Link to post
Share on other sites