Hey Dan,
That didn't work out. I thought that was what I used once before too.
The best way to describe what I'm trying to do is similar to a magnifying glass.
Think of 2 Layers.
1. Magnifying glass layer
2. Adjustment layer - this has the effect magnify.
I want the magnify center effect point to follow position and rotation of 1. Magnifying Glass layer Which also has it's anchor point moved to the handle so it pivots at that point.
Adding
thisComp.layer("magnifying_glass.ai").transform.position to the effect center point works great except it's center is aligned with the anchor of 1. Magnifying glass layer.
I need to offset this to the center of the glass. I've tried compCoords = [960,540]; and layerCoords = [200,450];, I've tried pre-comping, parenting, re-parenting to nulls, but it always breaks.
Sent: Thursday, August 01, 2013 12:43 PM
Subject: [AE] Expression/Effect center
nstead of +value, try appending .valueAtTime(0) to what you got from the pick whip.
Dan
Sent: Thursday, August 01, 2013 12:43 PM Subject: [AE] Expression/Effect center I have an effect center point on and adjustment layer pick whipped to another layers position.
It works fine, but I need it to retain it's original position and not move to the anchor point because I'm using rotation. I thought I could just do +value at the end, but no luck. thisComp.layer("glass.ai").transform.position
|