I want to union corner wedges to create a pyramid. However, corner wedges are not getting union-ed. I am able to union block parts, cylindrical parts, and wedge parts, but it gives me an error if I try with corner wedge parts.
It says corner-wedges are supported, but it doesn’t seem like it.
I wrote this following code to see if corner wedges can be union-ed, but it doesn’t work using a script either.
function union(name)
local part1 = Instance.new(name)
local part2 = Instance.new(name)
part1.Parent = workspace
part2.Parent = workspace
local union = part1:UnionAsync({part2})
union.Parent = workspace
end
union("Part")
print("Part union-ed!")
union("WedgePart")
print("Wedge union-ed!")
union("CornerWedge") -- errors here
print("Corner Wedge union-ed")
I decided on using a model or a folder instead of a union, but it would be more efficient if unions could work with corner wedges. Does anyone have a suggestion on how to get unions to work with corner wedges?