World / Server
paper/location_to_vector
Location To Vector
Extracts position and direction vectors from a location.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
location |
location | The location. |
Outputs
| Name | Type | Description |
|---|---|---|
position |
vector | XYZ position as a Vector. |
direction |
vector | Unit facing direction vector (derived from yaw/pitch). |
x |
number | — |
y |
number | — |
z |
number | — |