We use cookies on this site to enhance your user experience

An AlignOrientation is a constraint that applies a torque to make its attachments align. Like other constraints, this has two Attachments. In this case the two attachments are constrained to be oriented in the same direction but not necessarily the same position.

By default, this constraint only applies torque on Constraint/Attachment0's parent, although it can be configured to apply torque on both attachments. Note that this torque can also be limited to a max amount via AlignOrientation/MaxTorque.

Note that any torque created by AlignOrientation will be applied about the center of mass of the parent of the attachments (or the center of mass of rigidly connected parts to the parents).

Take a look at the gif below for a demonstration of AlignmentOrientation on a BasePart!

AlignmentOrientation Demonstration


Name Type Description

The maximum angular velocity the constraint can use to reach its goal.


The maximum torque the constraint can use to reach its goal.


If set to true, then the AlignOrientation will only apply torque if the primary axis of its Attachment0 becomes unaligned with Attachment1. This means that any rotation about the Attachment0’s primary axis will not create a torque.


When true the constraint will apply torque on both Attachments to achieve the goal.


Used to control how quickly the constraint will reach its goal. Higher values will cause the attachment to align quicker. Value can be between 5 and 200.


When set to true, the solver will react as quickly as possible to align the attachments. When false, the torque is dependent on AlignOrientation/MaxTorque, AlignOrientation/MaxAngularVelocity, and AlignOrientation/Responsiveness.

Inherited from Instance , Constraint

Archivable ClassName DataCost Name Parent RobloxLocked Attachment0 Attachment1 Color Enabled Visible