Skip to content

ActuatorRelativeTo

Supported Enum

Determines the coordinate frame in which a mover constraint's directional properties are expressed.

Description

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

Item Value Status Notes
Attachment0 0 Supported The directional property is interpreted in the local coordinate frame of Attachment0, rotating with its parent part.
Attachment1 1 Supported The directional property is interpreted in the local coordinate frame of Attachment1, rotating with its parent part.
World 2 Supported The directional property is interpreted in world-space coordinates, remaining constant regardless of part orientation.

Roblox reference: ActuatorRelativeTo