|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Antwort: 3D collisions
All you need is something called a bounding-box to test the collisions. The basic idea is that it is simpler to just check the instersection of two boxes rather than chacking ervery single vertex. So, what you'll have to do is compute a box (by checking the vertices for MAXIMA and MINIMA ), so that the mesh will fit into it, have a look at a ALGEBRA book to get a BOX-Intersection test formula and there you go ... :-) ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|