Talk:LlGetPos

From Second Life Wiki
Revision as of 00:43, 11 March 2010 by Fred Gandt (talk | contribs) (Asked question about the return of llGetPos() if called in a child of an attachment.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Called in a child of an attachment

One of the caveats states "When called from any child prim, always returns that prims region position". However this appears to not be the case. If<lsl>default {

   touch_start(integer nd)
   {
       llRezObject("Object", llGetPos(), ZERO_VECTOR, llGetRot(), 0);
   }

}</lsl>that is used in a child of an attachment all sorts of odd things come out. Does anyone KNOW the definite ifs and buts when calling llGetPos() in a child of an attachment? I am testing it myself but the results are truly bizarre. -- Fred Gandt (talk|scripts|contribs) 07:43, 11 March 2010 (UTC)