rareseu
10-30-2011, 11:11 AM
Hello guys !
i'm trying to snap "curve1" to a specific cv of "curve2" (the first cv of "curve2")...the problem is that i don't know how to get the world coordinates of a cv. Can anybody please help ?
EDIT:
did some digging and eventually figured it out :
//getting the x value of the first cv of a curve :
$xPos=getAttr (exampleCurveShape.controlPoints[0].xValue);
i'm trying to snap "curve1" to a specific cv of "curve2" (the first cv of "curve2")...the problem is that i don't know how to get the world coordinates of a cv. Can anybody please help ?
EDIT:
did some digging and eventually figured it out :
//getting the x value of the first cv of a curve :
$xPos=getAttr (exampleCurveShape.controlPoints[0].xValue);
