Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions wiggling scale with limits

  • wiggling scale with limits

    Posted by Eugene Constable on January 27, 2009 at 4:12 pm

    Hi,
    I have created an zaxwerks invigorator object with several sets, (1 per illustrator layer) I want to wiggle the depth of the sets,
    They are each tracked to a seperate 3d layer and then I have added the expression:

    x=value[0];
    y=value[1];
    z=wiggle(4,300)[2];
    [x,y,z];

    to wiggle just the z scale axis of each 3d tracking layer. It works but it seems to have a glitch whereby the layer while it wiggles in depth also jumps position (x/y) on certain keyframes – just for 2 frames or so then jumps back to where it should be?
    Anyone else come across this?

    Also I would like to limit wiggling of the the scaling between 300 and 800 on the z axis .any ideas?

    Many Thanks,
    Eugene

    Eugene Constable replied 17 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    January 27, 2009 at 5:10 pm

    No idea about the glitches, but this should work for your other question:

    z = 550 + (wiggle(4,250) – value)[2];

    Dan

  • Eugene Constable

    January 27, 2009 at 8:35 pm

    Thanks Dan, adding

    z = 550 + (wiggle(4,250) – value)[2];

    did the trick

    As for the glitches, I started a fresh project, and it seemed to be cured! I think the Invigorator/AE link has lots going on in the background – with my numerous attempts at writing expressions I may somehow have corrupted the project file. who knows.

    Cheers,
    Eugene

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