I still don’t understand, could you provide an example on how I could create Region3.new()
to where part is located at?
part.Position and part.Size -> Region3.new()
I still don’t understand, could you provide an example on how I could create Region3.new()
to where part is located at?
part.Position and part.Size -> Region3.new()
local region = Region3.new(part.Position)
region:ExpandToGrid(-part.Size)
(Whoops this was innacurate)
Here is how you could do it:
local region = Region3.new(part.Position, part.Size)
region:ExpandToGrid(4)
hey, ik its a little late but, its actually pretty easy, but if you want the part to be rotated you will have to use EgoMoose module.
this will create a region3 from a partm this doesnt support rotation. because for rotating regions you need a lot of work . or just egomoose module witch is really easy to use.