Ok, I need to find a way of distinguishing whether points sit inside or outside a mesh - I have an idea how to do it with convex meshes, but not with non-convex.
so in this photo <img src ="http://farm4.static.flickr.com/ 3278/3406312071_8ca8aa4df8_o.jpg"> I want to select the locators that don't penetrate the mesh surface, so all the ones outside and inside the cup, but not the ones under the surface. I have a feeling this involves some ray casting style stuff and I had a look at the MFnMesh class, but I don't really know any method of doing this, let alone how to implament it. Any help/suggestions would be greatly appreciated. Thanks --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
