Hi!
How can I change positive value to negative or negative to positive while assign it?
for example:
I have two spheres and I want to gett translate value of sphere1 = 5 5 5 and assign this value to sphere2 but negative -5 -5 -5.
float $onj1[] = xform -q -ro sphere1
;
xform -ws -t $obj1[0] $obj1[1] $obj1[2] sphere2;
expression will be :
sphere2.transleteY = sphere1.translateY*(-1);