Home Technical Talk

Tranfer World Space Coordinates of an object To Other Object with melscript

sukhpreet
null
string $sel[] = `ls -selection`;
float $m[] = `xform -ws -q -t $sel[1]`;

I have two objects. I want to copy the translation coordinates of one object to other. 
In above mentioned code,
I would store the translation coordinates of second object in $m[].
How can I tranfer it to first object? Basically to $sel[0]. HELP!!!

Replies

Sign In or Register to comment.