Upset Baby Games

Upset Baby Games

Navigation

vector3

Syntax:

vector3(value);
Argument name Type Description
value any value to convert into a vector3

Returns: (vector3)

Description:

This function can be used to turn a value into a 3D vector. Scalars will fill up the x-column and any remaining units will be set to 0. Arrays will be converted, if possible.

Note: A vector3 is simply a 1D array with 3 real values.