Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ActuatorRelativeTo
Determines the coordinate frame in which a mover constraint's directional properties — such as force, velocity, or torque vectors — are interpreted. Used by the VectorForce.RelativeTo, LinearVelocity.RelativeTo, Torque.RelativeTo, and AngularVelocity.RelativeTo properties, as well as AlignPosition.ForceRelativeTo. When set to Attachment0 or Attachment1, the direction rotates with the referenced attachment's orientation; when set to World, it remains fixed in world space.
Items
| Name | Value | Description |
|---|---|---|
| Attachment0 | 0 | The directional property is interpreted in the local coordinate frame of Attachment0, rotating with its parent part. |
| Attachment1 | 1 | The directional property is interpreted in the local coordinate frame of Attachment1, rotating with its parent part. |
| World | 2 | The directional property is interpreted in world-space coordinates, remaining constant regardless of part orientation. |
Attachment0
The directional property is interpreted in the local coordinate frame of Attachment0, rotating with its parent part.
| Field | Value |
|---|---|
| value | 0 |
Attachment1
The directional property is interpreted in the local coordinate frame of Attachment1, rotating with its parent part.
| Field | Value |
|---|---|
| value | 1 |
World
The directional property is interpreted in world-space coordinates, remaining constant regardless of part orientation.
| Field | Value |
|---|---|
| value | 2 |