Workshop.codes
Create

Vector Last updated November 26, 2024

Description

A vector composed of three real numbers (x, y, z) where x is left, y is up, and z is forward. Vectors are used for position, direction, and velocity.

Snippet

Vector(0, 0, 0);

Properties

Returns: Vector
Parameters: X, Y, Z

X
Type: Float, Default: Number
The x value of the vector.

Y
Type: Float, Default: Number
The y value of the vector.

Z
Type: Float, Default: Number
The z value of the vector.

Workshop.codes