Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thank you for responding @haggi krey ! That was actually the problem. Also, do you work with OpenMaya ? If so can you please tell me how to use MFnMesh::allIntersections()? That seems more reliable than what I do here. The problem is that I don't need to use all the flags required for this method but I also don't know which ones I need. I just want to know if my mesh intersects with another mesh or not. If you could help that'd be great! Thanks in advance:) Commented Nov 3, 2021 at 10:42
  • Not sure if allIntersections will do the job. If I understand you correctly, then you need to know if your objects intersect. What allIntersection() does is to trace a ray and find all points on a mesh where the ray hits the mesh what is a bit different. Commented Nov 3, 2021 at 12:01
  • Yep, I know:D I think it still can help. Anyway , I think I understood how to use it. Thank you for your time! Commented Nov 3, 2021 at 12:16