Talk:LlGetLocalPos

From Second Life Wiki
Revision as of 20:14, 18 March 2008 by Cron Stardust (talk | contribs) (Equivalent Functionality)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Equivalent Functionality

Ok, as far as I have been able to test, this code should be true: <lsl>llGetLocalPos() == (llGetPos() - llGetRootPosition()) / llGetRootRotation()</lsl> Caveat: While the formula is functionally equivalent, a built-in function usually takes much less time to execute. Cron Stardust 20:14, 18 March 2008 (PDT)