EP Curve tool and pivot

Hi,

i have a curve made with ep curve tool; it’s a vertical line. I need to move the pivot in the same position of the vertex of the curve with the lowest y coordinate.

The question is : how can i access the vertex of such a curve ?

Thanx,

right click on it and select “control vertex” from the markin menu

No, i need to do it in an expression…however i did it…here’s the code (a part of it):

float $t[3];

$t = pointPosition curve1.ep[10]; // Vertex position

xform -rp $t[0] $t[1] $t[2]; // -rp rotate pivot…

That works.

Bye

Yes but usig mel in expressions is a baad thing from the efficency perspective! it would be easier to use clusters as proximarys for manipulation or someyhing. or even softbody goals!