<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sathirali+Yoshikawa</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sathirali+Yoshikawa"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Sathirali_Yoshikawa"/>
	<updated>2026-07-19T08:43:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlGetAgentSize&amp;diff=470272</id>
		<title>LlGetAgentSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlGetAgentSize&amp;diff=470272"/>
		<updated>2009-08-22T12:26:43Z</updated>

		<summary type="html">&lt;p&gt;Sathirali Yoshikawa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL Function/avatar|id|sim=*}}{{LSL_Function&lt;br /&gt;
|func_id=218|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|func=llGetAgentSize|return_type=vector|p1_type=key|p1_name=id&lt;br /&gt;
|func_footnote={{LSL Const|ZERO_VECTOR|vector|{{LSL VR|0.0|0.0|0.0}}}} is returned if &#039;&#039;&#039;id&#039;&#039;&#039; is not in the region or if it is not an avatar.&lt;br /&gt;
|func_desc&lt;br /&gt;
|return_text=that is the size of the requested avatar by &#039;&#039;&#039;id&#039;&#039;&#039;.&lt;br /&gt;
|spec&lt;br /&gt;
|caveats&lt;br /&gt;
|constants&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;//A simple script that makes a box hover above the owner&#039;s head.&lt;br /&gt;
default {&lt;br /&gt;
    state_entry(integer i) {&lt;br /&gt;
        key owner = llGetOwner();&lt;br /&gt;
        vector pos = llList2Vector(llGetObjectDetails(owner, [OBJECT_POS]),0);&lt;br /&gt;
        vector agent = llGetAgentSize(owner);&lt;br /&gt;
        pos.z += 0.5 + agent.z / 2;//&amp;quot;pos&amp;quot; needs to be adjusted so it appears above the owner.&lt;br /&gt;
        if(agent)//makes sure it found the owner, a zero vector evaluates as false&lt;br /&gt;
            llSetPos(pos);&lt;br /&gt;
    }&lt;br /&gt;
    touch_start(integer num) {&lt;br /&gt;
        llResetScript();&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetObjectDetails]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetBoundingBox]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetAgentInfo]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llRequestAgentData]]|}}&lt;br /&gt;
|also_events&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes=&lt;br /&gt;
* This function is a good way to quickly test...&lt;br /&gt;
** if an avatar is in the same region.&lt;br /&gt;
** if a UUID known to be in the region is an avatar.&lt;br /&gt;
&lt;br /&gt;
To use this function to test either case use as follows&lt;br /&gt;
&amp;lt;lsl&amp;gt;if(llGetAgentSize(uuid)) {&lt;br /&gt;
    //uuid is an avatar in the region&lt;br /&gt;
} else {&lt;br /&gt;
    //uuid is not an avatar in the region&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The returned vector holds the size of the avatar&#039;s bounding box{{Footnote|In fact the returned height is much smaller than the bounding box height. To get the actual avatar height in meters (counting shoes, and with a +/-3cm precision) apply a factor of 1.125. You can test this by changing a prim to with llSetScale and compare the size!}}, of which only the height (z) varies. Width (x) and depth (y) are constant. (0.45m and 0.6m respectively). &lt;br /&gt;
|cat1&lt;br /&gt;
|cat2=Avatar&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Sathirali Yoshikawa</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlGetAgentSize&amp;diff=470262</id>
		<title>LlGetAgentSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlGetAgentSize&amp;diff=470262"/>
		<updated>2009-08-22T12:24:01Z</updated>

		<summary type="html">&lt;p&gt;Sathirali Yoshikawa: Undo revision 446983 by Henri Beauchamp (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL Function/avatar|id|sim=*}}{{LSL_Function&lt;br /&gt;
|func_id=218|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|func=llGetAgentSize|return_type=vector|p1_type=key|p1_name=id&lt;br /&gt;
|func_footnote={{LSL Const|ZERO_VECTOR|vector|{{LSL VR|0.0|0.0|0.0}}}} is returned if &#039;&#039;&#039;id&#039;&#039;&#039; is not in the region or if it is not an avatar.&lt;br /&gt;
|func_desc&lt;br /&gt;
|return_text=that is the size of the requested avatar by &#039;&#039;&#039;id&#039;&#039;&#039;.&lt;br /&gt;
|spec&lt;br /&gt;
|caveats&lt;br /&gt;
|constants&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;//A simple script that makes a box hover above the owner&#039;s head.&lt;br /&gt;
default {&lt;br /&gt;
    state_entry(integer i) {&lt;br /&gt;
        key owner = llGetOwner();&lt;br /&gt;
        vector pos = llList2Vector(llGetObjectDetails(owner, [OBJECT_POS]),0);&lt;br /&gt;
        vector agent = llGetAgentSize(owner);&lt;br /&gt;
        pos.z += 0.5 + agent.z / 2;//&amp;quot;pos&amp;quot; needs to be adjusted so it appears above the owner.&lt;br /&gt;
        if(agent)//makes sure it found the owner, a zero vector evaluates as false&lt;br /&gt;
            llSetPos(pos);&lt;br /&gt;
    }&lt;br /&gt;
    touch_start(integer num) {&lt;br /&gt;
        llResetScript();&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetObjectDetails]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetBoundingBox]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetAgentInfo]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llRequestAgentData]]|}}&lt;br /&gt;
|also_events&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes=&lt;br /&gt;
* This function is a good way to quickly test...&lt;br /&gt;
** if an avatar is in the same region.&lt;br /&gt;
** if a UUID known to be in the region is an avatar.&lt;br /&gt;
&lt;br /&gt;
To use this function to test either case use as follows&lt;br /&gt;
&amp;lt;lsl&amp;gt;if(llGetAgentSize(uuid)) {&lt;br /&gt;
    //uuid is an avatar in the region&lt;br /&gt;
} else {&lt;br /&gt;
    //uuid is not an avatar in the region&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The returned vector holds the size of the avatar&#039;s bounding box{{Footnote|In fact the returned height is much smaller than the bounding box height. To get the actual avatar height in meters (counting shoes, and with a +/-3cm precision) apply a factor of 1.125}}, of which only the height (z) varies. Width (x) and depth (y) are constant. (0.45m and 0.6m respectively). You can test this by changing a prim to with llSetScale and compare the size!&lt;br /&gt;
|cat1&lt;br /&gt;
|cat2=Avatar&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Sathirali Yoshikawa</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlGetAgentSize&amp;diff=390902</id>
		<title>LlGetAgentSize</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlGetAgentSize&amp;diff=390902"/>
		<updated>2009-06-11T22:12:56Z</updated>

		<summary type="html">&lt;p&gt;Sathirali Yoshikawa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL Function/avatar|id|sim=*}}{{LSL_Function&lt;br /&gt;
|func_id=218|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|func=llGetAgentSize|return_type=vector|p1_type=key|p1_name=id&lt;br /&gt;
|func_footnote={{LSL Const|ZERO_VECTOR|vector|{{LSL VR|0.0|0.0|0.0}}}} is returned if &#039;&#039;&#039;id&#039;&#039;&#039; is not in the region or if it is not an avatar.&lt;br /&gt;
|func_desc&lt;br /&gt;
|return_text=that is the size of the requested avatar by &#039;&#039;&#039;id&#039;&#039;&#039;.&lt;br /&gt;
|spec&lt;br /&gt;
|caveats&lt;br /&gt;
|constants&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;//A simple script that makes a box hover above the owner&#039;s head.&lt;br /&gt;
default {&lt;br /&gt;
    state_entry(integer i) {&lt;br /&gt;
        key owner = llGetOwner();&lt;br /&gt;
        vector pos = llList2Vector(llGetObjectDetails(owner, [OBJECT_POS]),0);&lt;br /&gt;
        vector agent = llGetAgentSize(owner);&lt;br /&gt;
        pos.z += 0.5 + agent.z / 2;//&amp;quot;pos&amp;quot; needs to be adjusted so it appears above the owner.&lt;br /&gt;
        if(agent)//makes sure it found the owner, a zero vector evaluates as false&lt;br /&gt;
            llSetPos(pos);&lt;br /&gt;
    }&lt;br /&gt;
    touch_start(integer num) {&lt;br /&gt;
        llResetScript();&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetObjectDetails]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetBoundingBox]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetAgentInfo]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llRequestAgentData]]|}}&lt;br /&gt;
|also_events&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes=&lt;br /&gt;
* This function is a good way to quickly test...&lt;br /&gt;
** if an avatar is in the same region.&lt;br /&gt;
** if a UUID known to be in the region is an avatar.&lt;br /&gt;
&lt;br /&gt;
To use this function to test either case use as follows&lt;br /&gt;
&amp;lt;lsl&amp;gt;if(llGetAgentSize(uuid)) {&lt;br /&gt;
    //uuid is an avatar in the region&lt;br /&gt;
} else {&lt;br /&gt;
    //uuid is not an avatar in the region&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The returned vector holds the size of the avatar&#039;s bounding box{{Footnote|In fact the returned height is much smaller than the bounding box height. To get the actual avatar height in meters (counting shoes, and with a +/-3cm precision) apply a factor of 1.125}}, of which only the height (z) varies. Width (x) and depth (y) are constant. (0.45m and 0.6m respectively).&lt;br /&gt;
|cat1&lt;br /&gt;
|cat2=Avatar&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Sathirali Yoshikawa</name></author>
	</entry>
</feed>