Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Cody Campbell on July 30, 2007 at 3:37 am

    Heya everyone.. Long Time listener, first time writer–

    Possible noob question– I’m not so good with expressions.

    I want to have an object move randomly on the z-plane without effecting the other axis — is that possible to isolate with a wiggle expression? I could just fake random and key in a bunch of z-moves– but I have a bunch of objects I want to do this to and Im too lazy to key it all in. Any help would really be appreciated!

    Cody

    Just because noone understands you does not make you an artist

    Darby Edelen replied 18 years, 9 months ago 3 Members · 2 Replies
  • 2 Replies
  • Mike Clasby

    July 30, 2007 at 7:47 am

    From the Master:

    https://www.motionscript.com/design-guide/wiggle-1-dimension.html

    So for just the Z:

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

  • Darby Edelen

    July 30, 2007 at 3:12 pm

    [yikesmikes] “So for just the Z:

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

    You can also access the 3rd element of the wiggle inside the same declaration:

    w = wiggle(2,50)[2]

    That isn’t necessarily easier, but it helps to remember that it’s possible =)

    Darby Edelen
    DVD Menu Artist
    Left Coast Digital
    Aptos, CA

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