Details
-
Story
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
-
Description
There are currently two bones on the avatar's skeleton that can be animated, but cannot have attached objects added; the two bones are called "mNeck" and "mRoot".
The default avatar has always been rigged to display attachments at these locations, but their entry in avatar_lad.xml has always been omitted; it can be added easily by residents by making additional entries to the file:
<attachment_point
|
id="39"
|
group="2"
|
pie_slice="8"
|
name="Neck"
|
joint="mNeck"
|
position="0 0 0"
|
rotation="0 0 0"
|
visible_in_first_person="false" />
|
|
<attachment_point
|
id="40"
|
group="6"
|
pie_slice="4"
|
name="Root"
|
joint="mRoot"
|
position="0 0 0"
|
rotation="0 0 0"
|
visible_in_first_person="true" />
|
Uses for Neck Attachment Slot:
- Necklaces and Collars, that track the avatar's neck properly instead of the currently available options of simply following the head or chest, which are not visually correct.
- Full-prim/sculpt avatars cannot fully articulate every bone on the avatar as they are missing an these bone.
Uses for Root Attachment Slot:
- Worn-style vehicles that allow the avatar to move around freely without the attachment itself moving.
- Auras and game-like followers/highlights around the avatar.
- Attachment-based detail to regular sat-on vehicles to keep them under the 32-prim limit.
Additional changes that may be necessary in addition to this XML:
- The viewer requires these strings to be named in strings.xml
- Explicitly typing integers already works, but for completion's sake, LSL could get named constants ATTACH_NECK (39) and ATTACH_ROOT (40) (if that is what root will be called)
- llGetAttached() already works correctly for new attachment points and returns the new values.
Attached are the necessary changes to avatar_lad.xml added against Second Life 2.7.2 Release. It can be used to verify the viewer is already capable of animating these entirely new attachment points. The new attachment point entries are available when right-clicking an object in inventory and choosing "Attach To"
Attachments
Issue Links
- related
-
STORM-1686 Missing menu options for attachment points Neck and Avatar Center
-
- Closed
-