of     1   

RobroxMasterDX
#73505522Wednesday, July 25, 2012 10:43 AM GMT

for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),nil,100)) do ----- end How do I make something like this , but with angles?
RA2lover
#73505929Wednesday, July 25, 2012 11:00 AM GMT

get a larger "boundary" box, then make calculations to filter out objects outside the shape you want.
Vitouliss14
#73507720Wednesday, July 25, 2012 11:59 AM GMT

I haven't yet looked in detail into Region3 but it looks pretty cool. We could probably use it to create instant boxes filled with many tiny parts instantly kind of like WorldEdit. Has anybody actually used Region3 to generate parts? Even though most of Region3's property's are Readonly but can't you just use Region3.new() to set them epic math stuff then create the parts from there?
8SunTzu8
#73514188Wednesday, July 25, 2012 2:14 PM GMT

I have recently looked into Region3, but it's not what I expected from what I know of it. A friend is using it to detect when a player leaves a certain area, maybe he's using Region2, if that exists. Not sure. But it seems like there are a lot of uses if you get creative. I don't know why you would need to use a Region3 to generate parts though, couldn't you just do it manually or regularly? "Improvise, Overcome, and Adapt." -Captain (RIP)
RA2lover
#73609618Thursday, July 26, 2012 12:14 PM GMT

there's a variant of Region3 - Region3Int16(which acepts Vector3Int16s only) for use with the :SetCells() method
Vitouliss14
#73612202Thursday, July 26, 2012 1:15 PM GMT

@RA2lover Oh yeah...I forgot about that.
NB3
#73612247Thursday, July 26, 2012 1:16 PM GMT

Isn't Region3 for voxel genaration?
Vitouliss14
#73612254Thursday, July 26, 2012 1:16 PM GMT

@NB3 No...
NB3
#73612682Thursday, July 26, 2012 1:26 PM GMT

@Vitouliss14 Questions can be asked.
Combrad
#73623496Thursday, July 26, 2012 4:07 PM GMT

Use Region3 to get the parts in the box, then iterate through them to check if they are in the shape you want.

    of     1