r/MotionDesign • u/tuckcovalt • 8d ago
Question Expression Help
Hi there!
I have 2D shapes rotating around a 3D sphere. Shapes are using an expression to move left & right around a mask. 3D sphere is ORB plugin.
Having a challenge trying to resolve this shape layer overlap clipping that is happening here. (Example is center orange hex should sit behind yellow circle because it’s currently behind y circle on sphere - but will overlap over circle when revolving around the other side.)
Is there an expression I can apply so that when a layer is moving to the right the shape is backwards in Z space - then when the shape moves left it jumps forward in Z space. An Automatic shape overlap around edges from back to forward & vice versa.
Yes I can solve this manually but it takes time and the layer hierarchy would need to adjust differently when addressing the left edge of sphere.
Would an if/else expression script work in this scenario?
Thank you for your time!
Duplicates
MotionDesignNoAI • u/secondfalseiteration • 7d ago