Restirct Overlapping of Polygons

I am creating 3D buildings using polygons. Here, the buildings can be overlapped with each other. Is there anyway by which I can prevent overlapping of the buildings.

I think you’re going to get z-fighting on the surface if they’re exactly the same height. Changing the height of one of the buildings might make that look better. Otherwise, I don’t think there’s anything built into the library you can do, other than spacing out your buildings.