Constraint¶
The base class for constraint-based objects.
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.
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.
Attachment0 Supported Property The Attachment that is connected to Constraint.Attachment1.
The Attachment that is connected to Constraint.Attachment1
Attachment1 Supported Property The Attachment that is connected to Constraint.Attachment0.
The Attachment that is connected to Constraint.Attachment0
Color Supported Property The color of the constraint.
Enabled Supported Property Toggles whether or not the constraint is enabled.
Visible Supported Property Toggles the constraint's visibility.
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.