FORUMS: list search recent posts

Custom 'Pastable' Parallax Expression?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Darryl Torke
Custom 'Pastable' Parallax Expression?
on Sep 16, 2014 at 4:30:38 pm

I have a background layer that moves steadily from left-to-right, I have a few layers parented to that layer, but would like those layers to move slightly faster left-to-right to give a slight parallax effect. Would there be an expression that I could paste into the position of the above layers that could reference the movement of the original layer to give this effect?


Return to posts index

Kevin Camp
Re: Custom 'Pastable' Parallax Expression?
on Sep 16, 2014 at 7:24:56 pm

you could try something like this:

rate = .1
value + (parent.position.velocity*time*rate);


adjust rate as needed, positive values will make the layer go faster than the parent, negative values will make it go slower than the parent.

if there is no parent, you will get an error.

Kevin Camp
Art Director
KCPQ, KZJO & KRCW


Return to posts index

Darryl Torke
Re: Custom 'Pastable' Parallax Expression?
on Oct 1, 2014 at 7:46:47 pm

Sorry for the delay, but thanks very much!


Return to posts index

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