Open Asterune
RigidConstraint

RigidConstraint

Locks the relative transforms of two attachments.

Creatable
Instance.new("RigidConstraint")
Inherits
ConstraintInstance
Replication
Standard

Behavior

RigidConstraint locks the relative transforms of two attachments.

Summary

Members7
Properties6
Methods1

Properties

Active

RigidConstraint.Active: boolean = false

Whether the constraint is currently active in the physics simulation.

Attachment0

RigidConstraint.Attachment0: Attachment? = nil

The first attachment used by the constraint or effect.

Attachment1

RigidConstraint.Attachment1: Attachment? = nil

The second attachment used by the constraint or effect.

Color

RigidConstraint.Color: Color3 = Color3.new(1, 0.686, 0)

The color of the constraint visualization.

Enabled

RigidConstraint.Enabled: boolean = true

Whether the physics solver processes this constraint.

Visible

RigidConstraint.Visible: boolean = false

Whether the constraint visualization is displayed.

Methods

GetExecutionGroup

RigidConstraint: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

Constraint