Template:LSL Constants/llRequestInventoryData: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Wulfie Reanimator (talk | contribs)
Clarified wording.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{|{{Prettytable}}</noinclude>
<noinclude>{|{{Prettytable}}</noinclude>{{#if:
 
<!-- do not forget to update this value! -->
{{#vardefine:InsertRows|1}}
 
}}
{{!}} colspan="2" {{!}} Landmark
{{!}} colspan="2" {{!}} Landmark
{{!}} ([[vector]])
{{!}} ([[vector]])
{{!}} colspan="4" {{!}} [[Viewer_coordinate_frames#Global|global_position_of_landmark]] = [[llGetRegionCorner]]() + (vector)[[Viewer_coordinate_frames#Region|data]];
{{!}} 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 17: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.