Difference between revisions of "Talk:LlGetLocalPos"

From Second Life Wiki
Jump to navigation Jump to search
(Equivalent Functionality)
(No difference)

Revision as of 20:14, 18 March 2008

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)