Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Control x, y and z space of an object indenpendently of each other with expressions?

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

    Posted by Michael Lansdell on September 2, 2010 at 12:39 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

    Michael Lansdell replied 15 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 2, 2010 at 4:34 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

  • Michael Lansdell

    September 20, 2010 at 9:20 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

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