Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Trace to Path 3D scale problem

  • Trace to Path 3D scale problem

    Posted by Jesse Richards on February 1, 2018 at 12:19 pm

    Hi all

    I have an issue with the new Trace to Path function in After Effects 2018.

    I have got a Null travelling around a Mask on a solid layer and its working well. I have made my the solid layer with the mask into a 3d layer to see if the Null would work in 3D and it does.

    The problem is that the Null that is travelling around the Mask is a 2d layer with an expression on it to convert the 2d position into a 3d looking movement. That works well but the layers I have parented to the Null don’t scale relative to the camera. They just stay the same size no matter where the camera moves.

    Does anyone know if a script that would make my 2d layers scale relative to the original 3d Solid with the Mask that Trace to Path is reading it’s positional data from?

    Thanks. Hope that makes some kind of sense.

    Brie Clayton
    replied 1 year, 11 months ago
    9 Members · 15 Replies
  • 15 Replies
  • Cassius Marques

    February 1, 2018 at 1:21 pm

    And why can’t you make the null travelling around the mask a 3d layer?

    Cassius Marques
    http://www.zapfilmes.com

  • Jesse Richards

    February 1, 2018 at 2:17 pm

    Hey Cassius

    It’s just how the Trace Path seems to work (unless I’m missing something). It is keeping the Null in 2D but putting an expression on it’s position to mimic the 3D co-ordinates of the Mask layer.

    If you make it 3d the Z goes to a seemingly random number (not zero). Although I’ve maybe found a fudge workaround by copying that z value into the z value of the anchor point. That seems to work although not very elegant.

  • Jesse Richards

    February 1, 2018 at 2:40 pm

    Actually the method above does not work. Still looking for a solution…

  • Cassius Marques

    February 1, 2018 at 3:45 pm

    What exactly are you using the trace path for? I mean, can’t you copy the path and paste it into a null’s position, them make both 3d and them you apply the transformations you had done (that require making the solid 3d), to both?

    It’s hard to grasp at what are you trying to do without seeing the file. But there’s nothing of the sort you’re describing that can’t be done, its just a matter of workflow.

    Cassius Marques
    http://www.zapfilmes.com

  • Cassius Marques

    February 1, 2018 at 3:46 pm

    then*².

    I really hate this forum for not being able to edit/remove posts =P.

    Cassius Marques
    http://www.zapfilmes.com

  • Jesse Richards

    February 1, 2018 at 3:52 pm

    Thanks Cassius.

    You’re right, I can solve this problem another way.

    The script Align to Path works but the method for altering the path after you’ve set everything up seems very buggy or does not work in my experience.

    Or, like you say, coping a path into the position value but I find that the path often comes in misaligned and is also fiddly to alter.

    I was just hoping this would be a simple very editable way of tracing paths, so that when inevitable changes come in I can just move a few nulls around.

  • Benjamin Leng

    April 9, 2018 at 3:02 pm

    When you create a Null with the Trace Path script the Null has an Expression on its postion property. In this expression you should change “pathLayer.toComp” into “pathLayer.toWorld”. This should do the trick.

  • Jesse Brady

    November 1, 2019 at 12:41 pm

    Just wanted to post a reply to acknowledge the fact that Benjamin’s solution works perfectly! This was actually a really good question, and the fact that “Trace Path” works so seamlessly with 3D layers is pretty amazing! Totally non-destructive.

  • Benjamin Leng

    November 1, 2019 at 4:20 pm

    Thank you. I’m glad I could help.

  • Andy Gregory

    February 18, 2020 at 4:05 pm

    This just saved me about 3 hours reworking a 2D comp into a 3D comp after a client change request that required the amend.
    Thank you!

Page 1 of 2

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