Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions control position of a 3d object in Element 3d after scaling up/down

  • control position of a 3d object in Element 3d after scaling up/down

  • Luis Florez

    August 28, 2016 at 3:10 pm

    hi how are you? hope everything goes well.

    I am doing a template in after effects and element 3d so anyone can scale up or down their logo as they wish. this is the issue I´m having
    I have a floor and I have a logo coming out from that floor. I have an animated camera that is closing up the logo while it is coming out from the surface.
    the animation is only 2 keyframes (y position). what happens is that everytime I rescale the logo, it changes it´s position, even though the (y) value is the same.
    It desappears from the camera view. example; if i change the scale property lets say from 480 to 450 the logo moves up. it doens longer touch the floor; like flying over it. (anchor point is in position)
    i have tried to use this expression so i can adjust the value with a slider by my self keeping the animation. but it´s is not working.

    x = [960];
    y = value + comp(“MAIN DESIGN”).layer(“MAin Control”).effect(“3D Point Control”)(1)[1];
    [x, y]

    is there a way of correcting this?
    or is there an expression that allows me to scale the logo in element 3d that keeps the logo in its original position?
    any help will be much appreciated.

    x = [960];
    y = value + comp("MAIN DESIGN").layer("MAin Control").effect("3D Point Control")(1)[1];
    [x, y]

    Live your life with passion

  • Kalleheikki Kannisto

    August 28, 2016 at 3:36 pm

    It depends on how you have set up the animation. If you have the floor on Group 1 and the logo in group 2 and you move the logo with the replicator position, all you have to do is scale group 2. I mean as long as the logo is centered in group 2 like it is by default.

    Edit: Ok, I think I misunderstood your question. You want the logo to touch the floor regardless of the scale? If that is the case, set the anchor point for the model to “bottom” in Element.

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Luis Florez

    August 28, 2016 at 5:54 pm

    thank you so much for you answer. i was wondering the same and I did as you mentioned. it shuold work i know. but for some strange reason it is not working. i deleted the logo and reset the properties in group 3 to start over again it is still not working. i created the logo and I rotate it in the com and it does not rotate in its anchor point. something must be causing the issue. i just dont know what.

    Live your life with passion

  • Luis Florez

    August 28, 2016 at 6:03 pm

    inside the element interfce it does what i want. rotate, scale base on the anchor point as you mentioned. but as soon i go to my composition everything is wrong. it scales rotate and moves base on the anchor point but it seems it is in a different place. that is why I´am trying to get a solution using an expression.

    Live your life with passion

  • Luis Florez

    August 28, 2016 at 7:07 pm

    after you mention the anchor point, i did everything with no luck. I started to look why it was not working and i found the solution. what happened was that even if i have the anchor point where I wanted in the element 3d interface but the position in xyz is not at 0.00, 0.00, 00.00 the scale, rotation will never adjust as I wanted.

    Live your life with passion

  • Kyle Haller

    January 25, 2022 at 2:29 am

    Hi Luis, having this issue as well I believe. Could you try to explain that again? You mean the particle replicator position has to be at 0? Even though the anchor point is in the center of the object, it changes once inside AE. And I can’t get the object to rotate around itself.

Viewing 1 - 6 of 6 posts

Log in to reply.

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