Maths question...
Maths question...
Out of context: Reply #15
- Started
- Last post
- 20 Responses
- freekilly0
i'm not sure, but if you don't have thousands of polygons, i think it's quicker to name all the MC's containing the polygons, sort them on _level and do a hittest loop that breaks when the first polygon is hit. else it's a bit more complicated. maybe you can figure a way out to split the polygons in two triangles and write a function that tests if the point is within one of them. i'm still thinking on this one.