I have created two bricks with the size of (0.05, 0.05, 0.05) at the top and bottom corners of a brick and I wanted to create a Region3 to check if the region is empty but for some reason it keeps saying that the region isEmpty when it should be printing false.
After trying to figure out what had been going wrong I checked the size of the Region and it was printing the Y and Z axis as negatives. I am assuming that this is the issue causing my problem but I cannot think of what’s causing this issue.
--Creating the Region3 function createRegion3(object) local Point1 = object.Parent.Part0.Position local Point2 = object.Parent.Part1.Position local Region = Region3.new(Point1,Point2) return Region end
This is an example of one of the sizes which was printed, if I remove the minuses it becomes the correct size.
4.94999695, -5.05000019, -4.94999695