How Do I Check if There is Complete Overlap with Box Collisions

Hello,
I am working on a building system and I only want the player to be able to build within a certain area.

With the current implementation if the building actor is on the very border of the allowed area and is overlapping with the box collisions then it will allow the player to place it. However, I only want to allow the player to build it if the ENTIRE object is within the box collision.

Is there a simple way to check that the entire actor is within the box collision (not just a standard overlap event)?

You can check if the world location of the boxes is roughly the same.

Using world location seems like a great possible solution. I’ll have to think about that one. Thanks.

1 Like