I need to be able to calculate the heading angle of the player to a specific target without using the getHeadingAngle()-function. I need to "reconstruct" it with the angles and positions given by the player and the target.
I already tried some trigonometry but it doesn't work because the player can change his angles without changing his position. So I cannot use that. I thought of using radians but I don't know in which way I could use it to achieve that.
Does anyone know a way it could be done?
Thanks in advance,
Kahmul