I'm producing an animation and I'd like one object to be in front of the other, and then to be behind. Then repeat the process. They would be alternating, sort of like the effect of two snakes intertwining.
I would like to know how to do this, change layer order during animation.
I looked for several terms in my language, but I couldn't find them. I tried to look up these same terms in English, but without success.
Animation Video (5 seconds):
Images from video:
Realize that I would like this alternation between blue and green rockets. In the animation only the green is in front, which doesn't give the "interlacing" effect.
I looked for the terms: interlacing, depth, inverting layers.