Difference between revisions of "LlGetPos"
Jump to navigation
Jump to search
m |
|||
Line 31: | Line 31: | ||
|notes | |notes | ||
|cat1=Movement | |cat1=Movement | ||
|cat2 | |cat2=Prim | ||
|cat3 | |cat3=Object | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 09:01, 12 January 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetPos( );59 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the prim's region position
Caveats
Examples
default { touch_start(integer total_number) { // When touched, check the position of // the object, save it to "position", // then convert it into a string and // say it. vector position = llGetPos(); llSay(0, (string)position); } }
See Also
Functions
• | llGetLocalPos | – | Gets the prim local position | |
• | llSetPos | – | Sets the prim position |