How can I get the location reference from an Actor Class inside my Character Class?

Hey,
I am trying to get the location from an Actor inside my Character Class to always face in his direction, but I cant get the variable to work, it says that the actor is always at x=0, y=0 and z=0 but it definitely is not! Can someone please explain what I have to do to set up a variable inside my Character class to get a reference from an Actor?

Another way to do it is if there is only 1 actor BP in the world. Then in your character BP you can simply set the reference like:

And now you can get its location.

There are several ways. This is one:

  • create the reference variable in the player BP;
  • In your Actor BP, you get the player and set the reference:

  • in your character BP you now can get its location:

305337-2.jpg