Get the Arc Tangent 2 as in atan2(y,x) from a vector 3, where you pick which is x and y from the vector 3. You can get the result in degrees, simply check on the RadToDeg conversion
The vector3 definition of the tan
which axis in the vector3 to use as the x value of the tan
which axis in the vector3 to use as the y value of the tan
The resulting angle. Note:If you want degrees, simply check RadToDeg
Rad To Deg
Check on if you want the angle expressed in degrees.
Repeat every frame.