WeldConstraint
Locks the relative position and orientation of two Parts.
- Creatable
Instance.new("WeldConstraint")- Inherits
- Instance
- Replication
- Standard
Behavior
WeldConstraint locks the relative position and orientation of two Parts.
Summary
Whether the constraint is currently active in the physics simulation.
Whether the physics solver processes this constraint.
The first Part connected by the joint or constraint.
The second Part connected by the joint or constraint.
Returns this instance if it is an ExecutionGroup.
Properties
Active
WeldConstraint.Active: boolean = falseWhether the constraint is currently active in the physics simulation.
Enabled
WeldConstraint.Enabled: boolean = trueWhether the physics solver processes this constraint.
Part0
WeldConstraint.Part0: BasePart? = nilThe first Part connected by the joint or constraint.
Part1
WeldConstraint.Part1: BasePart? = nilThe second Part connected by the joint or constraint.
Methods
GetExecutionGroup
WeldConstraint:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying