< Category:LSL VectorJump to navigation Jump to search
Revision as of 14:21, 28 January 2023 by Gwyneth Llewelyn (Replaced <source> with <syntaxhighlight>)
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
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;