Category:LSL Vector/direction

direction is a subtype of vector.

The functions and constants in this category all take or return a direction parameter. Events in this category expose a direction parameter.


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;

Pages in category