Workshop.codes
Create

Direction From Angles Last updated January 03, 2026

Description

The unit-length direction vector corresponding to the specified angles.

Snippet

Direction From Angles(0, 0);

Properties

Returns: Direction
Parameters: Horizontal Angle, Vectical Angle

Horizontal Angle
Type: Float, Default: Number
The horizontal angle in degrees used to construct the resulting vector.

Vectical Angle
Type: Float, Default: Number
The vertical angle in degrees used to construct the resulting vector.
-90° points straight down, and 90° points straight up.

Workshop.codes