How can I deal with overlapping gameobjects?

Hey everyone,

This isn’t much of an urgent question, but I’d still like to hear some advice from you guys. I’m making a 3D flappy bird game and I stumbled upon this annoying overlap between the environment (clouds, ground, etc.) and the pipes that procedurally spawn in. Here’s what I mean by that:

I’d like the pipe to be empty (which it is by itself) and delete the piece of environment it overlaps with which is, in this case, the part of the cloud inside of the pipe. I cannot do this with Blender because the position of the pipes is always randomized, so I don’t know which area of the environment to cut out manually. Any ideas?

There may be something fancy you can do with shaders to avoid this, but the only solution I can think of is to procedurally place the clouds too, to avoid them being placed in the same spot as the pipes. That or using a raycast to detect and destroy any cloud where a pipe spawns