Attachment
Attachment : Instance
Properties
CFrame
CFrame
CFframe represents the offset of position and direction based on the parent instance
Code Samples
print(attachment.CFrame)
WorldCFrame
CFrame
WorldCFrame represents the position and orientation of an attachment in the world, derived from its parent's CFrame and local transformation.
Code Samples
print(attachment.WorldCFrame)
Axis
Vector3
Axis is a property representing the direction of the X axis of an attachment relative to the world, stored as a unit vector
Code Samples
print(attachment.Axis)
SecondaryAxis
Vector3
SecondaryAxis is a property of type vector3 representing the direction of a secondary axis relative to the world. It indicates additional orientation for attachments and is defined as the Y axis unit vector.
Code Samples
print(attachment.SecondaryAxis)
WorldAxis
Vector3
WorldAxis represents the direction of the X axis of the attachment relative to the world as a unit vector3
Code Samples
print(attachment.WorldAxis)
WorldSecondaryAxis
Vector3
WorldSecondaryAxis is a property representing the secondary axis direction of the attachment relative to the world, stored as a unit vector3
Code Samples
print(attachment.WorldSecondaryAxis)
Methods
GetConstraints
GetConstraints is a method that returns an array of all constraints associated with the attachment. It provides a way to programmatically access and manage constraints linked to this attachment, allowing developers to create complex interactions within their applications.
Parameters
Return
array
Code Samples
Events
Last updated