llSetPos

From Second Life Wiki
Revision as of 07:20, 20 March 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llSetPos( vector pos );
0.2 Forced Delay
10.0 Energy

Moves the object or primitive towards the specified location 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.

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

Signature

function void llSetPos( vector pos );