I am pretty new to AE.
I though I would be smart making a spinning cube with the opposite sides flying out then rejoining the cube (one side mirroring the movement of the opposite side).
I smuggly made my cube parented to a null object to make it spin. All good so far. Then I pick whipped one cube side's 'Position' to it's opposite side's 'Position', naively thinking that would somehow magically know I wanted the opposite side to reflect the actions of it's parent. It obviously didn't. It exactly matched the cube side making my cube look like a side was missing (because two sides were now on the exact same coordinates).
I have been trawling sites to find what expression I need to make the side reflect the parented solid's actions.
I am out of my depth.
Thanks in advance.
Multiply the values by -1 and add/ subtract them from the center coordinates.
Thanks for your quick reply Mylenium.
Judging by your answer I think this may be all a bit over my head at the moment.
I'm not sure where the values are that I need to be 'add/subtracting'.
With the 'Position' of one side pick whipped to the 'Position' of 'side 2' I get this expression:
temp = thisComp.layer("side 2").transform.position;
[temp, temp, temp]
What do I need to type in their to reflect the parents movement?
Feel free to give up on me if I am way off. Ha!
I am very new to this.