As the title says, how do I get the accurate volume of a union?
I need to use this to get an accurate area of a province in my province game in km ^ 2
For now I simply use: (mass/density/sizeY)*(34/100)*1.60934 to get the volume in studs and convert it into kilometres
The answer that I’m getting is far smaller than the real size of these areas and there is no constant that i can multiply/devide to my result to give the accurate answer
You can’t directly, since there’s no API for that. You’d have to convert it to a mesh (not necessarily a MeshPart) and use some algorithm to find the volume of that.
When making the unions for the provinces many of the parts overlap, also this isn’t a meter-to-scale map, each stud is around 6 miles and that is then converted to kM