Retrieves vector's z coord.
[float z] vector:getZ()
local cVector = vEngine.math.vector.create(10, 20, 30, 40) --Creates a new vector local vectorCoordZ = cVector:getZ() --Retrieves vector's z coord print(vectorCoordZ) --Prints z coord of our vector
Last updated 2 years ago