ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Help! Transposing Anchor Point and Position

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Elad Menashe
Re: Help! Transposing Anchor Point and Position
on Jan 13, 2009 at 9:16:45 pm

You cannot change both the position and the anchor point using expressions since you need the anchor point value to be affected by the position value before its expression value was evaluated, you can do the following to achieve your goal:
1) Create a null layer and make it the parent of your layer.
2) apply this code to the null's position:
value - thisComp.layer("White Solid 1").transform.position
3) apply this code to your layer's anchor point:
value - transform.position
4) Hide the null layer.

Regards
Elad


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]