-
Position drives rotation
This seems like a simple thing to do but I just can’t figure it out.
How do I write an expression that allows an object to rotate based on the position (X and Y) of another object.
Whenever I try this, it looks like this under rotation:thisComp.layer(“Solid 1”).transform.position[0]
it only rotates when I move “Solid 1” in the X direction.
When I change it to
thisComp.layer(“Solid 1”).transform.position[1]
it only rotates when I move in the Y directionI want the layer to rotate when you move “Solid 1” in the X OR the Y direction.