Get Angle between rotating camera and player actor movement vector?

Create a BP Interface and add it to the player class.
Create a function in the BPI (Get Direction). Give the event an Output… Direction (Float).

Back in the player class, double click on the Interface function.
My Blueprint (Panel) → Interfaces (tab) → Get Direction

image

Add the code.


Now in your camera actor you need to get a reference to the player. Simple Actor reference will do, no need to cast.

With that reference you simply call the BPI event on the player.