So i Need a script that calculates what percent of a Part is in a Region3
I've tryed pretending the part is just facing the in the main direction (left,right,top,bottom,front,back) but it's not very relible so unsure where to look now
i'd also be fine if someone linked a website with the info how to calculate that so i can do it myself
if your wondering here's my code it do it how i was doing it
((part.Position.Y + 9) / (part.Size.Y / 2) / 2 + 0.5) * -1 + 1 (note the part.size.Y got chaged to X,Z when it was turned)
I got the answer myself since this was taking awhile i just put points all over the part and checked if there were under let's say 1y it worked good enough