https://wiki.secondlife.com/w/index.php?title=Talk:LlSetCameraEyeOffset&feed=atom&action=historyTalk:LlSetCameraEyeOffset - Revision history2024-03-29T11:47:56ZRevision history for this page on the wikiMediaWiki 1.36.1https://wiki.secondlife.com/w/index.php?title=Talk:LlSetCameraEyeOffset&diff=1020083&oldid=prevDale Innis: /* What are the vectors relative to, in child prims? */2010-08-30T04:14:37Z<p><span dir="auto"><span class="autocomment">What are the vectors relative to, in child prims?</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:14, 30 August 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Are the vectors in this and llSetCameraAtOffset relative to the object (the root prim), or the prim that the script is in? Experiments suggest the latter (that it's relative to the prim), but I'm not entirely sure... [[User:Dale Innis|Dale Innis]] 02:45, 30 August 2010 (UTC)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Are the vectors in this and llSetCameraAtOffset relative to the object (the root prim), or the prim that the script is in? Experiments suggest the latter (that it's relative to the prim), but I'm not entirely sure... [[User:Dale Innis|Dale Innis]] 02:45, 30 August 2010 (UTC)</div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Update: the situation seems to be very confusing! Both of these functions set the relevant feature in the co-ordinate system of, and relative to, the prim that they are called from (I think). But on the other hand the setting applies to every prim in the object! So if I do llSetCameraEyeOffset(v) in prim A, and someone sits on a different prim B, their camera eye goes to v relative to A (not to B). So it's like v is computed relative to A, and then the resulting absolute position applies for anyone who sits on any prim. Or something... [[User:Dale Innis|Dale Innis]] 04:14, 30 August 2010 (UTC)</ins></div></td></tr>
</table>Dale Innishttps://wiki.secondlife.com/w/index.php?title=Talk:LlSetCameraEyeOffset&diff=1020043&oldid=prevDale Innis: What are the vectors relative to, in child prims?2010-08-30T02:45:15Z<p>What are the vectors relative to, in child prims?</p>
<p><b>New page</b></p><div>== What are the vectors relative to, in child prims? ==<br />
<br />
Are the vectors in this and llSetCameraAtOffset relative to the object (the root prim), or the prim that the script is in? Experiments suggest the latter (that it's relative to the prim), but I'm not entirely sure... [[User:Dale Innis|Dale Innis]] 02:45, 30 August 2010 (UTC)</div>Dale Innis