From Second Life Wiki
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
- direction is a subtype of vector.
A direction vector simply points in a specific direction. For example <1,0,0> points East.
To get a direction vector, simply take the desired target position and subtract the starting position.
vector start; vector end; vector direction = end - start;