Difference between revisions of "LlSetPos"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 26: Line 26:
|notes
|notes
|cat1=Movement
|cat1=Movement
|cat2=Position
|cat2=Prim
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 15:43, 16 May 2007

Summary

Function: llSetPos( vector pos );

Moves the object or primitive towards pos without using physics.

• vector pos position in region or local coordinates depending on the situation (see #Specification).

Movement is capped to 10m per call for unattached root prims.

Specification

Coordinate Frame

Caveats

  • This function causes the script to sleep for 0.2 seconds.
  • Because of the intermixing of local and regional coordinates with this function, when a prims position is wanted it is best to use llGetLocalPos.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetLocalPos Returns the prim's local position if it is attached or non-root (otherwise it returns the global position)
•  llGetPos Returns the prim's global position, even if it is attached or non-root

Deep Notes

Search JIRA for related Issues

Signature

function void llSetPos( vector pos );