ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to "make mirror like" motion within an expression?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jakub Korselt
How to "make mirror like" motion within an expression?
on Jan 9, 2018 at 9:42:24 am
Last Edited By Jakub Korselt on Jan 9, 2018 at 9:43:45 am

Lets say i have got some object in comp which moves between two keyframes and i would like somehow to connect another object to that one but make the motion opposite one... only on one axis.

example:

object 1 is falling from top to bottom where will be the mirror. And i am wondering how to write some script right?

Please help me! any advance will be helpful


Return to posts index

Anthony Tonev
Re: How to "make mirror like" motion within an expression?
on Jan 12, 2018 at 6:10:31 am

Only on Y axis.

y = -thisComp.layer("layer name").transform.position[1];
x = transform.position[0];
[x,y]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]