ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Control x, y and z space of an object indenpendently of each other with expressions?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Michael Lansdell
Control x, y and z space of an object indenpendently of each other with expressions?
on Sep 2, 2010 at 12:39:00 pm

Nothing is working for me today... I also want to control x,y and z space depending on different parameters. I'm trying to link x and y to left and right channels to get object to appear in 2D space according to them, but I want these to move forward in 3D space over time, so what I tried to set up was [x,y,z] with x linked to the left channel of the "Audio Amplitude" layer, y to the right and z with time*1 for a slow movement forwards in time.

Can someone tell me how stupid I'm being, please?

Thanks,

transform.position{(("Audio Amplitude").effect("Left Channel")("Slider")),(("Audio Amplitude").effect("Right Channel")("Slider")),(time*1))

Michael Lansdell

Online/Offline Editor

My system:

2 x 3 GHz Quad-Core Intel Xeon
5GB DDR2 RAM
512MB ATI Radeon X1900 XT
OS X 10.4.11
Final Cut Pro 6.0.4
After Effects CS4
Blackmagic Design DeckLink HD Extreme (6.6.2)

Take a gander at my personal blog:

http://www.monstersareart.co.uk


Return to posts index

Dan Ebberts
Re: Control x, y and z space of an object indenpendently of each other with expressions?
on Sep 2, 2010 at 4:34:51 pm

I think it's mostly a syntax issue. You need to use the square brackets like you did in your question. I'd set it up like this:

L = thisComp.layer("Audio Amplitude");
[L.effect("Left Channel")("Slider"),L.effect("Right Channel")("Slider"),time*1]

I'm guessing that might not really what you're after though.


Dan



Return to posts index

Michael Lansdell
Re: Control x, y and z space of an object indenpendently of each other with expressions?
on Sep 20, 2010 at 9:20:09 am

Thanks, I've put this on hold for now, but will have another look when I get back to it. Thank you for taking the time to help Dan, I've found your website incredibly useful so many times by the way!

Michael Lansdell

Online/Offline Editor

My system:

2 x 3 GHz Quad-Core Intel Xeon
5GB DDR2 RAM
512MB ATI Radeon X1900 XT
OS X 10.4.11
Final Cut Pro 6.0.4
After Effects CS4
Blackmagic Design DeckLink HD Extreme (6.6.2)

Take a gander at my personal blog:

http://www.monstersareart.co.uk


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]