The rotation angle of the vector on the Y axis||doc136028

September 20, 2022

Format

 Lib.v3AngleXZ(v) 
  • The class to which the function belongs:Lib

Description

Calculate the rotation angle of the vector on the y axis


Parameters

Variable name type Description
v Vector3 vector


Value Returned

type Description
float rotation angle


Code Samples

local yaw = Lib.v3AngleXZ(Lib.v3(1,0,0))