Search found 1 match
- April 3rd, 2008, 4:34 am
- Forum: Expression Discussion
- Topic: adaptive rotation based on a point
- Replies: 2
- Views: 9940
Re: adaptive rotation based on a point
Just a small tweak that I use: fromPoint=transform.position; atPoint=thisComp.layer("Shape Layer 1").transform.position; delta=sub(fromPoint,atPoint); angle=Math.atan2(delta[1],delta[0]); value+radiansToDegrees(angle) It makes it easier just to select and pickwhip new points. The fromPoint...