zin64
09-19-2006, 05:16 AM
Hi all,
I am searching for the script to set the local/object space of a vertex. i,e, I have script as below:
vector $aa = `xform -q -os -t pCube1.vtx[3]`;
vector $bb = `xform -q -os -t pCube2.vtx[3]`;
vector $cc = `xform -q -os -t pCube3.vtx[3]`;
I hope to move the pCube3.vtx[3] to the $aa value which will be in object space coordinate. I wonder what would be the right Mel script to use.
Thanks in advance.
SweeKim
I am searching for the script to set the local/object space of a vertex. i,e, I have script as below:
vector $aa = `xform -q -os -t pCube1.vtx[3]`;
vector $bb = `xform -q -os -t pCube2.vtx[3]`;
vector $cc = `xform -q -os -t pCube3.vtx[3]`;
I hope to move the pCube3.vtx[3] to the $aa value which will be in object space coordinate. I wonder what would be the right Mel script to use.
Thanks in advance.
SweeKim
