MFnMesh has a getClosestPoint method, which will return the face id (among
other things, including the specific surface hit-point) of the closest
face. You can use the same class to "getPolygonVertices" using the face id.
Then just get the skin weights per vertex, however you choose, for those
verts. After that Im not super sure, maybe a weighted average of the skin
weights based on your hit-points proximity to each of the poly verts?

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPzKG6UONt9_cO%2BEuo%2BkF2125J3oTG%2BMY522PVS__n%2BXwAvnXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to