Open Asterune
WeldConstraint

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

Members5
Properties4
  • Active: boolean = falseparallel readread onlydoes not replicate

    Whether the constraint is currently active in the physics simulation.

  • Enabled: boolean = trueparallel read

    Whether the physics solver processes this constraint.

  • Part0: BasePart? = nilparallel read

    The first Part connected by the joint or constraint.

  • Part1: BasePart? = nilparallel read

    The second Part connected by the joint or constraint.

Methods1

Properties

Active

WeldConstraint.Active: boolean = false

Whether the constraint is currently active in the physics simulation.

Enabled

WeldConstraint.Enabled: boolean = true

Whether the physics solver processes this constraint.

Part0

WeldConstraint.Part0: BasePart? = nil

The first Part connected by the joint or constraint.

Part1

WeldConstraint.Part1: BasePart? = nil

The 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

Inherited47

Instance