Skip navigation
Currently Being Moderated

Smoothing values of another layer

Jan 30, 2012 2:59 PM

Tags: #help #smooth #expression #damp #damping

I have Layer A which has a standard wiggle on it. I pickwhip the position of Layer B to copy Layer A's.

 

But now I want Layer B's motion to be a damped — as if Layer B is copying Layer A's movement, but Layer B is stuck in molasses.

 

Can I use the  smooth(width = 1, samples=5, t=time) function to accomplish this? Is there a better way?  How could I also add a slight time delay to Layer B so it's a few frames behind Layer A's motion?

 
Replies
  • Currently Being Moderated
    Jan 30, 2012 3:13 PM   in reply to Navarro Parker

    Pretty much like you would expect:

     

    delay = 3*thisComp.frameDuration;

    thisComp.layer("Layer A").transform.position.smooth(width = 1, samples=5, t=time-delay)

     

     

    Dan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points