Roblox UtilitiesDevlHub Roblox Documentation

Class

Snap

Deprecated
Inherits
JointInstance › Instance › Object
Memory category
BaseParts

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 JointInstance 7
Properties (7)

Active, C0, C1, Enabled, Part0, Part1, part1

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed