mesh in mesh colli

Blitz3D Forums/Blitz3D Programming/mesh in mesh colli

Panno(Posted 2004) [#1]
how to test if a mesh(little) in a mesh(big) without x,y,z?


jfk EO-11110(Posted 2004) [#2]
You have just reached one missing feature. If the little mesh is inside the big mesh and the Surfaces do not cross anywhere, there will be no Collision and no MeshesIntersect.

Maybe you can check the condition, if you perform 6 linepicks from the center of the inner mesh, one in each direction, and if all 6 linepicks hit the outter mesh (maybe the outter mesh needs EntityFX 16) then it seems to be inside. Unfortunately this is pretty slow. You should at least limit the length if the linepicks to the max. diameter of the outter mesh.