-
Position to null position
Hey All,
Is there an easier way to do this… I have a layer and a null, the null is at posx,y 360, 288 and then nulls position is at 260, 188. And I want to put an expression on the layers position so it STAYs in its original position but moves when the null does.. I would do this like this…
x=thiscomplayer (“null1”)transform.position[0] – 100;
y=thiscomplayer (“null1”)transform.position[1]null1.posy – 100;
[x,y]What I want to know is there an easier way to do this.. it’s fine when there is only a 100 difference, as I can work that out nice and easy.. however it gets more complicated when it is 953.2.
Is there something like value I could use or something that would work out the difference..
it’s not the end of the world.. just hoping to better myself !!
thanks
Alex