Look here for an example of how MMeshIntersector used: http://download.autodesk.com/us/maya/2011help/API/closest_point_cmd_8cpp-example.html
The 'MPointOnMesh' object which 'MMeshIntersector' returns has point, normal, face and triangle indices. It doesn't have uv coordinates, but I don't think you'd need those here. - Ofer www.mrbroken.com On Mon, Sep 13, 2010 at 11:45 AM, Skarone <[email protected]> wrote: > Maybe I could make a comparison between the closest-point return it > and the inverse of the normal of the vertex. > Correct me if I m wrong, but the mfnmesh.closestIntersection give me > much more information to play. > Because with the mfnmesh.closestIntersection I know the face that hit > the ray, I could use it to compare normals. > > Can u or someone explain me a little more about the MMeshIntersector > > Thanks > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
