How could I get a Region3 of a part rotated by multiples of 90? I've tried everything, and I don't think using a premade module is necessary.
This is what I have for finding the Region3 of a 0,0,0 orientation part
local Region3 = Region3.new(Part.Position - (.45 * Part.Size), Part.Position + (.45 * Part.Size))
Thanks in advance,
Tim
Answer:
local Region3 = Region3.new(Part.Position - Vector3.new(.45 * Part.Size.Z, .45 * Part.Size.Y, .45 * Part.Size.X), Part.Position - Vector3.new(.45 * Part.Size.Z, .45 * Part.Size.Y, .45 * Part.Size.X))

2 comments
Thank you, I will test this when I am home.
Not exactly what I needed. Thank you though.