Wiggler and negative numbers
by Marc Brown
on
Jun 14, 2008 at 10:03:30 am
I'm at a loss to envision how a function designed to generate random motion (or whatever) curves can be of any use if it can only return positive numbers. Surely such a limitation, if actually desired, could have been achieved after the fact with another bit of code.
How can I force the Wiggler (or whatever) to give me a series of random motions in both positive and negative directions? (Note: I don't simply mean random values, but curves, which would define paths. The Wiggler does it, but it has that limitation.)
Re: Wiggler and negative numbers by Mike Clasby on Jun 14, 2008 at 3:24:14 pm
It seems to me the Wiggler is generating both negative and positive numbers, it's just that you're layer is starting with both being positive numbers, and rather large ones, like (360,240), in the middle of the screen. So the negative numbers generated by the wiggler are added to the larger positive starting numbers. Unless you're in AE's 3D mode, when both numbers go negative, the layer is offscreen
So when the Wiggler moves an object up or to the left, the value at that frame is incrementally negative, I mean it was (360,240) now it's (300,200) and has moved up and left, the x and y for that frame is incrementally negative.