Skip to content

Constraint

Supported Class Physics NotCreatable

The base class for constraint-based objects.

6 Nova members · 2 modern Roblox members not implemented yet

Description

The base class for constraint-based objects. See mover constraints and mechanical constraints for more details.

Inheritance

Object → Instance → Constraint

Nova inheritance: Instance → Constraint

Known subclasses: AlignOrientation, AlignPosition, AngularVelocity, AnimationConstraint, BallSocketConstraint, HingeConstraint, LineForce, LinearVelocity, and 10 more

Properties

Active Supported Property Indicates if the constraint is currently active in the world.
Active: bool

Indicates if the constraint is currently active in the world.

This property is true if the constraint and both of its parts are in the Workspace and the constraint's Constraint.Enabled property is true.

Roblox documentation

Attachment0 Supported Property The Attachment that is connected to Constraint.Attachment1.
Attachment0: Object

The Attachment that is connected to Constraint.Attachment1

Roblox reference signature
Attachment0: Attachment

Roblox documentation

Attachment1 Supported Property The Attachment that is connected to Constraint.Attachment0.
Attachment1: Object

The Attachment that is connected to Constraint.Attachment0

Roblox reference signature
Attachment1: Attachment

Roblox documentation

Color Supported Property The color of the constraint.
Color: BrickColor

The color of the constraint.

Roblox documentation

Enabled Supported Property Toggles whether or not the constraint is enabled.
Enabled: bool

Toggles whether or not the constraint is enabled.

Roblox documentation

Visible Supported Property Toggles the constraint's visibility.
Visible: bool

Toggles the constraint's visibility.

Roblox documentation

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

2 modern Roblox member(s) are not implemented yet — expand to inspect

Members declared by Roblox's Constraint class (or by a missing base class) that Nova does not expose. Use this list to scope a migration; the compatibility guide has the recommended workaround.

Methods

Member Signature Status Notes Flags
GetDebugAppliedForce Constraint:GetDebugAppliedForce(bodyId: int): Vector3 Not yet — —
GetDebugAppliedTorque Constraint:GetDebugAppliedTorque(bodyId: int): Vector3 Not yet — —

Roblox reference: Constraint

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.