I am trying to rotate an actor based on the angle (360) of two 3d vectors.
So I stumbled on really cumbersome problem with rotations and the likes (I am not good with vector maths). I am trying to get the angle between two 3D vectors, where A is origin (0,0,0) and B is moving. I know that A(UpVector) and B = normalized > dot > acos(degrees) will give me the angle. But the problem is that its 0 - 180, the thing I want is continuously 360 rotation. I am sure that my workflow is bad, so how should I proceed here? Thanks in advance.
Here is BP screenshot of my workflow: