Hello, I am working on a game where you can cut holes into cubes where I add an additional mesh as a border as some kind of indicator.
If two holes overlap, I want to subtract the overlapping borders from each other, to create one big looking hole. This works in like 90% fine as you can see here:
The problem is, sometimes there appear some strange fragments - they are only visible from one side, on the back they are invisible:
Here is how I subtract them both from each other - I use a cube for the subtraction as I cutout three dimensional cubes, so when one hole is on the edge of the box, the border should be subtracted in three dimensions as well:
Here is how I create the borders: My attempt is to place a cube with the size of the hole at the position where I want to cut out the hole, scale the original box by 1.1 and use the intersection of it with the hole sized cube to cut the outer part of the border, then doing the same with a 0.9 scaled size box to cut out the inner part of the border and lastly subtracting a 0.8 hole size cube to cut out the actual hole of the border (maybe there exists a better solution to that?)
I already tried various attempts to find a solution on my side, but none of them worked, so I just wanted to make sure, that the problem is for sure on my side or if there is eventually a problem in the package?
The problem only occurs on device (Apple Vision Pro, visionOS 2.0) - I can also provide a TestFlight if this helps for debugging the issue.
Hello, I am working on a game where you can cut holes into cubes where I add an additional mesh as a border as some kind of indicator.
If two holes overlap, I want to subtract the overlapping borders from each other, to create one big looking hole. This works in like 90% fine as you can see here:
The problem is, sometimes there appear some strange fragments - they are only visible from one side, on the back they are invisible:
Here is how I subtract them both from each other - I use a cube for the subtraction as I cutout three dimensional cubes, so when one hole is on the edge of the box, the border should be subtracted in three dimensions as well:
Here is how I create the borders: My attempt is to place a cube with the size of the hole at the position where I want to cut out the hole, scale the original box by 1.1 and use the intersection of it with the hole sized cube to cut the outer part of the border, then doing the same with a 0.9 scaled size box to cut out the inner part of the border and lastly subtracting a 0.8 hole size cube to cut out the actual hole of the border (maybe there exists a better solution to that?)
I already tried various attempts to find a solution on my side, but none of them worked, so I just wanted to make sure, that the problem is for sure on my side or if there is eventually a problem in the package?
The problem only occurs on device (Apple Vision Pro, visionOS 2.0) - I can also provide a TestFlight if this helps for debugging the issue.