Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I seperate the unions with the new CSG API?

I was trying out the new CSG API by cutting some blocks, however the cutted block just won't seperate. It still acts like a whole block, even though it looks like this: http://prntscr.com/l89rsb But on the replies on the, the results are different from mine.

This is my script.

local newUnion = script.Parent:SubtractAsync({workspace.Cut})
newUnion.Parent = workspace
newUnion.CFrame = script.Parent.CFrame
script.Parent:Destroy()

1 comment

0

Unions are always one block, even in Studio. There ain't no way my guy, never been a thing

1 answer

I saw someone do exactly that! The solution is cloning your first union, creating a negative part that goes from the middle to one side, then from the middle to the other side for the second union, and unionizing each side of the two base unions (separately). Now you'll have two unions that are cut along the middle but not connected to each others!

This discussion is preserved as it was. New answers, comments, and votes are closed.