-
Maintain X position of shape relative to rotation of a square
Hi everyone.
I have an expression query that I really hope someone can help me with!
Please see x2 attached screenshots. As you can see, I have a square scaling down and rotating in the centre of my comp. I also have two rectangles either side that are to scale up or move along the X axis while remaining perfectly aligned to opposing corners of the square, even while it rotates.
I’m pretty sure it’s something to do with Math.cos expression, however I can’t seem to get it right. Any suggestions?
Thanks in advance.