Talk:LlGetPos
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)
- Hmmm. All I can say is that you should keep in mind, that animations are rendered by the client. They don't affect the position of the prims (or attachments). On the other hand llGetRot is affected by mouselook. -- Strife (talk|contribs) 21:54, 12 March 2010 (UTC)
- I completely forgot that my pelvis is back to front. *rolls eyes* I was having prims rez all over the place but where they should have been. Sometimes the long hours are too long. -- Fred Gandt (talk|scripts|contribs) 13:10, 13 March 2010 (UTC)