Class
Snap
Deprecated
Holds two parts together and functions identically to Weld.
An object that holds two objects rigidly together. Most commonly created when
BasePart:MakeJoints() is called on parts where Inlet and Stud
SurfaceType are touching.
Functionally identical to Weld.
See also WeldConstraint for a newer alternative using the
constraints system that does not
require C0 or C1 properties
to be manually set.
Root part#
Every Assembly has a root part, see BasePart:GetRootPart(). When a
Snap's C0/C1 is modified the
root part will stay where it was.
Directionality#
Snaps do not have any directionality. Part0 or
Part1, doesn't matter. You can imagine rigid
joints forming a tree branching down from the root part. All the parts down
the tree from root will move, and their welded "children" in this tree will
move with them.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild