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