Max Script detect only the outer side


#1

https://help.autodesk.com/view/3DSMAX/2016/ENU/?guid=__files_GUID_BD473113_389F_4C96_BE07_217FF75796EF_htm

Hello, I tried to detect only the outer side of the object through the link example above. However, the fact that the number of Tri’s in the model is high causes performance degradation, and if the object is complicated, it doesn’t seem to be tracked as well as expected.

Do you have a good solution?

Even if it’s not RayMeshGridIntersect, please let me know if there’s a better way