WeldConstraint
Put a phone in a hand and it stays there. Weld one part to another and it moves along, no code.
A WeldConstraint holds Part1 where it is relative to Part0, like Roblox's. The offset is taken when Part0 and Part1 are set and whenever you move Part1 by hand. To make one, select two parts, right-click in the Explorer and choose Join with WeldConstraint: nothing moves. Enabled off lets Part1 go back to its own CFrame, and keying Enabled keeps the offset, so scrubbing is exact. In the simulation, welded parts move as one body.
Properties
Scripts
| Name | Type | Default |
|---|---|---|
| Active | boolean | scripts only |
Weld
| Enabled | boolean | true | Off, Part1 goes back to its own CFrame; keying Enabled keeps the offset, so scrubbing is exact. |
| Part0 | BasePart | The part Part1 is held relative to; a phone in a hand moves with the hand. | |
| Part1 | BasePart | The part held where it is relative to Part0, like a phone that moves with the hand. | |
| Status | read-only text | Properties window only |
