Difference between revisions of "Template:LSL Constants/llRequestInventoryData"

From Second Life Wiki
Jump to navigation Jump to search
m
(Clarified wording.)
 
Line 7: Line 7:
{{!}} colspan="2" {{!}} Landmark
{{!}} colspan="2" {{!}} Landmark
{{!}} ([[vector]])
{{!}} ([[vector]])
{{!}} colspan="4" {{!}} The vector [[Viewer_coordinate_frames#Region|data]] received by [[dataserver]] is an offset from <0,0,0> of the current region. To obtain the [[Viewer_coordinate_frames#Global|global]] position of a landmark add [[llGetRegionCorner]]().
{{!}} colspan="4" {{!}} The vector [[Viewer_coordinate_frames#Region|data]] received by [[dataserver]] is a global position ''as an offset'' from the current region's origin (<0,0,0>). To obtain the absolute [[Viewer_coordinate_frames#Global|global]] position of a landmark, add [[llGetRegionCorner]]() to the vector.
<noinclude>|}</noinclude>
<noinclude>|}</noinclude>

Latest revision as of 16:33, 23 February 2024

Landmark (vector) The vector data received by dataserver is a global position as an offset from the current region's origin (<0,0,0>). To obtain the absolute global position of a landmark, add llGetRegionCorner() to the vector.