You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#TO-DO----------------also think about selecting all the cards. . . for each, run closestPointOnSurface function for the dummy geo, create a follicle at the closest point(UV) and parent it to that. . . .
import maya.cmds as cmds
import zbw_rig as rig
#TO-DO----------------maybe script breaking a poly shell into faces then attach those to the proxy geo
def cardAttach():
sel = cmds.ls(sl=True)
#get all the cards (could be groups)
cards = sel[1:]
#get the proxy geo
shell = sel[0]
#for each card (or group) get the nearest point on surface of proxy