How to remove mesh overlap?

I am running into a problem of not knowing enough to ask the correct question, I am working on a building system for a farming game i am working on and I am having an issue with when the meshes overlap. I already have it in place where you cant build a piece where overlapping occurs but i would like players to be able to put roofs on the corners of buildings.

As you can see in this example the roofs currently overlap each other. Is there a way to cut away or delete that overlap with blueprint? I did make a corner mesh that fits in that spot but that introduces new issues of throwing of the sizing of the next level.

Is there a way to procedurally remove the overlapping bits in BP?

You probably want to have a check in the building system verifying what parts are close by each other. I assume you have a building tiling system. Simply use the array of building blocks to detect blocks close by and change the shape using a branch or switch.

I do not believe i am using a tiling system, the way it currently works is that each actor spawned comes with overlaps matched to traces for each building piece. I was able to fix the issue though. It took some finagling and adding 6 more building pieces but now i have it all set up and fitting together right.

1 Like