original dumb post follows...
According to the wiki, llSetPos for child prims is local to the root prim:
http://wiki.secondlife.com/wiki/LlSetPos
Yet, when I run this code, the object is launched toward the region's 0,0,0 coordinate:
readLinkset()
{
integer nprims = llGetNumberOfPrims();
integer i;
for ( i = 0; i <= nprims; i++)
{
if ( llGetAgentSize( llGetLinkKey( i)))
{
// avatar
nprims--;
}
else
{
//not an avatar
string linkname = llGetLinkName(i);
if ( i > LINK_ROOT && llGetSubString( linkname, 0, 2) != "ref"

{
llOwnerSay(linkname);
llSetPos( < 0,0,0 >
; // center prim}
}
}
}
The name of the object is M02A-1 and the output of this code looks like this:
[13:58] M02A-1: outer ring
[13:58] M02A-1: upper
[13:58] M02A-1: lower
[13:58] M02A-1: back
[13:58] M02A-1: inner ring
[13:58] M02A-1: fl3
[13:58] M02A-1: fl4
[13:58] M02A-1: fl2
[13:58] M02A-1: fl1
[13:58] M02A-1: fd2
[13:58] M02A-1: fd1
Note that there's no output for the prim named M02A-1 (the root), so it's not being positioned. Only the child prims are. Yet, this code launches the object toward the region's 0,0,0 coordinate.
Is the wiki wrong? And did this recently change?
