Retrieves rotation angle in 2D.
[float angle] rotationAngle2D(float startX, float startY, float endX, float endY)
local result = vEngine.math.rotationAngle2D(10, 50, 60, 100) --Retrieves angle of rotation print(result) --Prints result
Last updated 2 years ago