Difference between revisions of "LlGetLocalPos"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:
|caveats
|caveats
|constants
|constants
|examples
|examples=<pre>
 
NOTE: There is no such think like llSetLocalPos()
You will have to do something like:
 
SetLocalPosition(vector local_position)
{
  vector root_position = llGetPos();
  vector absolute_position = root_position + local_position;
  llSetPos(absolute_position);
  return;
}
</pre>
|helpers
|helpers
|also_functions
|also_functions

Revision as of 18:04, 30 July 2007