@adjustheight changes the avatar's vertical offset (the same value as the viewer's hover/Z-offset setting), typically so that an animation lines up with the ground or furniture.

Syntax

@adjustheight:<adjustment_centimeters>=force
@adjustheight:<ref_pelvis_to_foot_m>;<scalar>[;<delta_m>]=force

Parameters

adjustment_centimeters
Single-value form: an integer number of centimeters (parsed with atoi, so 12.7 is read as 12). The offset becomes that value / 100 meters.
ref_pelvis_to_foot_m;scalar[;delta_m]
Computed form, used when a non-zero scalar follows the first ;: offset = (ref − the avatar's current pelvis-to-foot distance) × scalar + delta, all in meters. This compensates for avatars of different leg lengths using the same animation.

Specification

Examples

// Lower the avatar by 5 cm
llOwnerSay("@adjustheight:-5=force");
// Animation was made for a pelvis-to-foot of 1.05 m
llOwnerSay("@adjustheight:1.05;1.0;0.0=force");

Notes

Spec discrepancies

Implementation notes

Client differences

Comparison with RLVa

No significant differences from RLVa's @adjustheight.