An attachment is an object (clothing, weapons, jewelry, shoes, etc) that can be attached to an avatar at a specific location. Usually location is set by the creator of the object. The default location otherwise is the right hand.
Attachments are linked to bones. When a bone is animated, all attachment locations linked to that bone will move identically to the bone they are linked to.
The following is a list of attachments and the bones they are attached to.
- The "pec" attachment slots are unfortunately named, as they attach to the central bone of the avatar's torso, and the pectoral muscles are associated with the upper or chest bone. Worse still, in LSL the misnamed the original constants (which was later fixed by adding new constants).