VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: Collision with polygons in 3d Mostafa Mohamed (3 replies, 0 views) (2000-Sep-21) Hi,
You will find a 2 samples about this thing in voodoovb site and corner of vb developers,the one in voodoovb is for openlgl and it is the orignial and the other in corner of vb developers is for direct x (converted from the orginal one in voodoo vb)
they use the ray tracing method for finiding if a ray intersect a triangle or not.
the link for the 2 sites is:
http://francis.dupont.free.fr/coindev/english/ (corner for vb dev)
http://voodoovb.cjb.net/ (voodoo vb)
It is the same way i used for collision detection in my engine.
Mostafa Mohamed
|