Direction

Overview

Return Value
Function

Functions

AngleToDirection()

Direction AngleToDirection(number angleDegrees)

Helper function to convert a given amount of angle degrees into the corresponding Direction enum.

DirectionToDegrees()

integer DirectionToDegrees(Direction direction)

Helper function to get the corresponding angle degrees from a Direction enum.

DirectionToVector()

Vector DirectionToVector(Direction direction)

Helper function to get a Vector pointing in a given Direction.

Last updated