As a Roblox developer, it is currently too time consuming to change the default inlet form for bricks for smooth.
This was for studio.
But part via Instance.new doesn’t.
As a Roblox developer, it is currently too time consuming to change the default inlet form for bricks for smooth.
This was for studio.
But part via Instance.new doesn’t.
I think this was an intentional decision. A lot of old games might rely on the current behavior (expecting the parts to connect correctly) that might break. This is the only reason I can think of, but I imagine the developers have their own reasons.
Quick manual fix:
do
local instance = Instance
Instance = {new = function(class, parent)
local part = instance.new(class, parent)
if part:IsA("BasePart") then
part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
end
return part
end}
end
I made myself a plugin that just changes any inserted part to smooth because I was too lazy to do it myself. Also anchors it since I always forget and then my builds explode…
We can almost never change the default value of properties on instances created with Instance.new
, because we have to maintain compatibility with old games. If we added a way to opt-into new defaults, it would just make things more confusing, especially because of libraries and things inserted through the toolbox.
One thing that you may find preferable is to have template objects that you clone rather than creating new instances every time.