Skip to content

Vector3

A position or a direction in the game world: [x, y, z], in metres. z is height.

type Vector3 = readonly [number, number, number];
Index Type Description
[0] number x: west (negative) to east.
[1] number y: south (negative) to north.
[2] number z: height.