FANDOM


An object for storing a 3D vector. Includes x, y, and z components, used for multiple properties.

A Vector3 is constructed using the Vector3.new() function:

myposition = Vector3.new(x,y,z) --whereas x, y and z are the arguments for the function
Vector3

 Lua Object

Constructors Vector3.new(x,y,z)
Fields x, y, z, magnitude,unit

External links