Copy link to clipboard
Copied
Hello;
I am flipping 6 cards (two rows of 3) in one composition, the two cards in the center of the composition flip perfectly, but the other cards want to flip to the opposite side of where they are. If I add a keyframe to the position, it kind of works but still a not as smoothly as the two in the center.
I am assuming that the Y 180 degrees is looking at the composition space and that is my issue. How can I fix this?
Thanks!
Copy link to clipboard
Copied
Can you please provide a screenshot or short video of the issue, as well as the code your are using?
*Martin
Copy link to clipboard
Copied
Since I don't have any idea how you set up your project I will tell you how I would do it
toCompVec([0, 0, 1])[2] > 0 ? value : 0
There you go. The expression hides the layers when they face away from the camera no matter where the camera is. This eliminates the problem of two layers sharing the same Z space. The parenting keeps the Card Back layers attached to the Card Face layers.
If that workflow does not solve your problem we need to see a screenshot of your composition with the modified properties of each layer revealed. Just press UU, PrintScreen and Paste to the forum. Cropped screenshots or screenshots that don't show us what you have done to the layers that are giving you problems are pretty useless.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now