Feature Request: Enable Publicly Synchronized X/Y/Z Avatar Hover Offsets
Sebastyne Alpha
SUMMARY
Please extend Second Life's existing avatar hover-height functionality to support publicly synchronized three-dimensional positional adjustments (X/Y/Z), particularly for fine-tuning seated avatar positions without modifying furniture or animations.
## The existing XYZ support
While developing the [SEBASTYNE] Community Viewer, we discovered that Second Life's viewer code already contains much of the infrastructure needed to handle three-dimensional hover offsets.
Specifically:
- LLVOAvatarSelf::setHoverOffset()accepts anLLVector3, meaning it can represent X, Y, and Z offsets.
- LLVOAvatar::parseAppearanceMessage()receives anAppearanceHover.HoverHeightvalue as anLLVector3, rather than a single floating-point number.
- The avatar rendering code applies the three-dimensional hover vector, allowing horizontal as well as vertical visual displacement.
- However, LLVOAvatarSelf::sendHoverHeight()submits onlyhover_offset[2](the Z component) through theAgentPreferencescapability, using the scalarhover_heightfield.
In other words, the avatar appearance system already accommodates XYZ values, but the existing viewer-to-simulator interface only provides a supported way to submit Z.
The additional X/Y components are effectively inaccessible through the normal hover-height adjustment mechanism.
## Experimental findings
We implemented working local X/Y adjustments in the [SEBASTYNE] Community Viewer, allowing seated avatars to move in precise 1 cm and 5 cm increments.
These adjustments render correctly in the local viewer but are not visible to other residents.
By comparison, vertical hover-height adjustments synchronize successfully.
We also tested two experimental
AgentPreferences
payload formats:- Additional X/Y fields:The simulator returned HTTP success, but the resulting avatar appearance update contained zero horizontal offsets.
- Full XYZ vector:Replacing the scalar hover-height value with a vector caused the request to fail.
These findings suggest that the current simulator capability does not expose support for submitting horizontal offsets, even though the appearance message and viewer rendering code can represent them.
## Requested functionality
Please provide an officially supported viewer-to-simulator method for submitting horizontal avatar hover offsets alongside the existing vertical offset.
Ideally, this would:
- Accept three-dimensional X/Y/Z offsets.
- Synchronize those offsets through avatar appearance updates so other viewers can render them.
- Preserve existing Z-only functionality and compatibility with older viewers.
- Allow small, precise adjustments while seated, without altering the underlying furniture or animation.
- Include appropriate limits and safeguards.
## Why this matters
Furniture and animations frequently require minor positional corrections because avatars vary in proportions, body shapes, and animation configurations.
Being able to move a seated avatar a few centimetres forward, backward or sideways would substantially improve compatibility with existing Second Life content.
Currently, such corrections often require furniture-specific scripts, modifying objects or changing animations.
A standardized XYZ hover-offset capability would allow viewer developers to offer universal positioning controls, without requiring changes to millions of existing furniture items.
## Technical question for Linden Lab
**Given that
AppearanceHover.HoverHeight
is already represented as a three-dimensional vector, could the existing AgentPreferences
capability be extended to accept and rebroadcast X/Y components, rather than restricting outgoing adjustments to Z?**Alternatively, could another supported capability expose these positional offsets?
This appears to be a promising opportunity to extend functionality already partially represented in the viewer and avatar appearance protocol.
Log In
AlettaMondragon Resident
Very interesting observations, it makes me wonder if it is like that because someone tried to make it work along all 3 axes originally, but they ended up with hover height only because they couldn't figure out how to make it properly so it would work along the X and Y axes as well, or if they simply didn't think about implementing the horizontal offsets at the time.