Hi.
I want to change the position of one layer and the position of the other layer should follow them. But if I link the position the second layer jumps to the position of the first layer. I want to keep the position in an offset.
what I want to do:
I set up a character standing in front of a mirror. If he lift his arm the mirrored arm shall move as well. Independent of how far he is standing from the mirror.
Thanx
need script for offset position
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
I'm actually quite suprised that expression worked. It's ignoring the "temp =" bit which I'd expect to cause an error (temp is undefined), so you're expression is really:
So at the moment you're just adding arm_right position to backview anchor point. Couldn't you do what you're trying to do with parenting instead?
Code: Select all
thisComp.layer("arm_right").transform.position + thisComp.layer("backview").transform.anchorPoint[0];