I have this code here that creates a region3 in front of a part so it can find players for a turret
local minCFrame = script.Parent.PrimaryPart.CFrame * CFrame.new(-4,-5, 3)
local maxCFrame = minCFrame * CFrame.new(-10, 6, -8)
local region = Region3.new(Vector3.new(minCFrame.X, minCFrame.Y, minCFrame.Z), Vector3.new(maxCFrame.X, maxCFrame.Y, maxCFrame.Z))
local f = Instance.new("Part")
f.Anchored = true
f.Size = region.Size
f.CFrame = region.CFrame
f.Parent = script.Parent
The problem is that the region always only creates a section thats not rotated but just facing the default orientation, (0, 0, 0). Is there a way to make a region3 able to have rotated sections?

1 comment
Yes. EgoMoose made a wonderful Wiki tutorial on it. However, after the recent update to the DevHub, it appears as if some articles have been purged. Here's its corresponding video though: https://youtu.be/NgV66HPqUoo