Copy link to clipboard
Copied
Hi!
I have a pretty specific question for a pretty specific workflow I'm using.
Is there a way to maintain the stroke width of a shape inside a precomp, when you're animating that precomp with a 3d camera?
My goal is to keep the stroke width of the shapes inside the precomps when animating the Z position of the camera.
Thanks in advance!!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks for your reply!
They mention this expression on the link you pasted:
c=thisComp.activeCamera; p=thisLayer.toWorld(thisLayer.transform.anchorPoint); value * length(c.fromWorld(p)[2])/c.zoom;
In my case, the camera is not on the same comp (Shape is on a precomp and camera is on the main comp), and I'm not really sure how to adapt it.
Do you know how I should do it?
Thanks again!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now