I am having a problem here.
I have two actors, one of them is rotating. I want to know, if the rotating actor is looking at the other.
The rotation is done pretty easy, in the end I have a value for the rotation (z-axis) in degrees.
Then I wanted to compare this to the results of the “get direction vector”-function.
Unfortunately I only get values, I don’t understand. All of them are between 0 and 1, multiplying with 360 is no solution.
It is confusing at all.
Is there an easy way to get the direction (z-axis) between two actors in degrees?