I am trying to code a simple program where a actor moves towards a moving player for this i need to store the players position, could someone please help me and tell me how i can do this.
Thank you
I am trying to code a simple program where a actor moves towards a moving player for this i need to store the players position, could someone please help me and tell me how i can do this.
Thank you
I assume player controls pawn/character. Simply get pawn controlled by a player and call GetActorLocation() on it.
Every actor has it function. Actor components implement GetComponentLocation() with the same meaning.
GetActorLocation()
API refrence your new bible