Class
Accoutrement
An object that can attach to a player's character.
An Accoutrement welds its child part called "Handle" to the
player's character. You can change the position and rotation of the Handle
part using the AttachmentPos,
Right,
Forward, and
Up properties.
Parts descending from an accoutrement are massless when attach to other parts
(e.g. with a Weld) as long as they are not the root part of the assembly that
GetRootPart() returns.
GetMass() returns 0 for parts in this case, and it
doesn't add to the total mass or rotational inertia of the Assembly.
This doesn't apply to a part descending from an accoutrement when an accoutrement welds to another part that is massless or one if its parts otherwise becomes root. This also doesn't apply for the root part, and it has mass like a normal part.
Properties 5#
AttachmentForwardVector3 | Sets the offset position of the object on the Player.ReadSafeHiddenNotReplicated |
AttachmentPointCFrame | The exact CFrame of the Accoutrement.ReadSafe |
AttachmentPosVector3 | Sets the position of the object on the Player.ReadSafeHiddenNotReplicated |
AttachmentRightVector3 | Sets the offset position of the object on the Player.ReadSafeHiddenNotReplicated |
AttachmentUpVector3 | Sets the offset position of the object on the Player.ReadSafeHiddenNotReplicated |
AttachmentForward: Vector3#
HiddenNotReplicatedReadSafe
Sets the offset position of the object on the Player.
AttachmentPoint: CFrame#
ReadSafe
The exact CFrame of the Accoutrement.
AttachmentPos: Vector3#
HiddenNotReplicatedReadSafe
Sets the position of the object on the Player.
AttachmentRight: Vector3#
HiddenNotReplicatedReadSafe
Sets the offset position of the object on the Player.
AttachmentUp: Vector3#
HiddenNotReplicatedReadSafe
Sets the offset position of the object on the Player.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild