Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Mental block. How do I add value to an expression?

  • Mental block. How do I add value to an expression?

    Posted by Olly Lawer on July 5, 2012 at 5:43 pm

    I’ve got a wiggle on some clouds, but they are mixing with my other elements in Z space. I just want them to bob in 2D space, but need to enable 3D.

    A quick way I thought of getting around this is just to add a value of 11 (the wiggle will go up to factor of 10).

    Can’t remember how though!

    wiggle(1,10)

    Olly Lawer

    Olly Lawer replied 14 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 5, 2012 at 6:11 pm

    This should wiggle in x and y, and leave z alone:

    w = wiggle(1,10);
    [w[0],w[1],value[2]]

    Is that what you need?

    Dan

  • Olly Lawer

    July 5, 2012 at 6:19 pm

    Looks great Dan.

    Thank you!

    Olly Lawer

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy