| disable y axis
• | | | |
Hi. I am trying to make a shape rise and fall in time with a sound. I pick whipped the position of the shape to the audio key frames and it is working great. The problem is that it moves along the Y and X axis. So, rather then moving up and down it moves on a diagonal.
I imagine this is a simple problem but I am new to working with expressions and I can't seem to find any info out there. A bit of help would be greatly appreciated!
BB
| | | | |
• | | | |  | Re: disable y axis by Dan Ebberts on Jun 30, 2012 at 3:22:19 am |
Try this:
aud = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
value - [0,aud]
Dan
| | | | |
• | | | |
Hey, thanks for the quick response. That doesn't seem to work for me. It probably would have helped if I posted the expression that I am currently using.
temp = thisComp.layer("Pale Red Solid 3").effect("Sound Keys")("Output 2");
[temp, temp, temp]
| | | | |
• | | | |  | Re: disable y axis by Dan Ebberts on Jun 30, 2012 at 3:47:19 am |
>It probably would have helped if I posted the expression that I am currently using.
Yes--always. :-)
Try this then:
temp = thisComp.layer("Pale Red Solid 3").effect("Sound Keys")("Output 2");
value + [0, temp, 0]
Dan
| | | | |
• | | | |
WORKED! thanks. learning one bit at a time. :) bb
| | | | |
| |
|