MeshesIntersect

Blitz3D Forums/Blitz3D Beginners Area/MeshesIntersect

fox95871(Posted 2009) [#1]
Hi, how can I get MeshesIntersect to work more like if it had the name MeshWithin, so it's better for things like sensors?




_PJ_(Posted 2009) [#2]
This might be helpful...
http://www.blitzbasic.com/codearcs/codearcs.php?code=1192


Zethrax(Posted 2009) [#3]
A couple of mine:-
http://www.blitzbasic.com/codearcs/codearcs.php?code=1920
http://www.blitzbasic.com/codearcs/codearcs.php?code=1901

I think you'll find that MeshesIntersect is too slow for that purpose. You're better off doing an AABB (Axially Aligned Bounding Box) or OBB (Oriented Bounding Box) test, or using collision proxies (as in the code above).