here´s another idea
float $vtxPosA1[1] = `xform -q -ws -t outputCloth1.vtx[159]`;
print $vtxPosA1;
-1779.823486
213.435852
-2118.266846
this seems to work fine
question:
how do I feed those values into a transform node with the help of an expression?
transformNode.translateX = $vtxPosA1; ??
transformNode.translateY = $vtxPosA1; ??
transformNode.translateZ = $vtxPosA1; ??
_____edit_____
oh man...
i just realised that I can´t use $scripts because I need an update at each frame of the animation.
so how do I feed transformNode with an expression?
there must be a very simple line of mel code for it.
everything starts and ends in the right place at the right time.
Last edited by Falott; 28-06-2010 at 08:44 AM.