I just discovered Region3 exists and I think I it's important since I've been using the
.Touched event from
Parts to define a "region". I can't find much info in roblox docs so here are a few questions:
1) What "shape" is this region? A block? A sphere?
2) If it is a block can I make a region3 sphere?
3) What is min and max in
Region3.new( Vector3 min, Vector3 max ) <- taken from https://developer.roblox.com/api-reference/datatype/Region3
4) How often is this used in a game? (because I haven't used it at all)
A region is a box, as defined by two opposite corners. Imagine how you can click and drag to create a selection box on your desktop, only in three dimensions.
You cannot, however if you find all objects in a region 3, you can use (center.Position - part.Position).Magnitude <= radius to see if it would be in a sphere from the center.
Min and max are the start and end positions of the box, two opposite corners, there's no limit in reasonable use.
It's used in terrain, and for finding parts in an area, but you can do a whole lot without ever touching it.