My suggested method will apply to the BasePart class.
boolean
IsConnectedTo( BasePart
part, boolean
recursive )
Effectively it’s an internal bit of code to run through the connected parts of a BasePart and tell me whether or not a part is connected to my specified one.
[details=This block of code is a way to do this currently.]```
function IsConnectedTo(Part, Goal)
local Parts = Part:GetConnectedParts(true)
for Index, ConnectedPart in pairs(Parts) do
if ConnectedPart == Goal then
return true
end
end
return false
end
###Why?
It would be a lot faster / less intensive **(NEEDS CONFIRMATION)** than my given code-block.
It could be used for a few things, mainly things that rely on physics or rigs that rely on `:MakeJoints()` to confirm if it's connected.
###Why not?
The things this could be used for aren't very broad, but they are most certainly there.
Appeal to creators is fairly minor at the moment (Given most games)
If it's not faster / less intensive then this would be a useless method.