We use cookies on this site to enhance your user experience

An AlignPosition is used to apply a force towards a location. Like other constraints, AlignPositions have two Attachments. In this case the attachments are constrained to be in the same position, although not necessarily in the same orientation. By default, this constraint only applies forces on Attachment0, although it can be configured to apply forces on both attachments.


Properties

Name Type Description
bool

When true, applies force at center of mass of Attachment0’s parent Part. When false, applied at Attachment0.

float

Maximum force the constraint can apply to achieve its goal. Only used if RigidityEnabled is false.

float

Maximum speed the Attachment can move when converging. Only used if RigidityEnabled is false.

bool

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

float

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

bool

When set to true, the solver will react as quickly as possible to move the attachments together. When false, the torque is dependent on AlignPosition/MaxForce, AlignPosition/MaxVelocity, and AlignPosition/Responsiveness.

Inherited from Instance , Constraint

Archivable ClassName DataCost Name Parent RobloxLocked Attachment0 Attachment1 Color Enabled Visible