Share location between actor and player controller

Hi, I have a player controller which allows me to change the respawn location. The location is stored in a Vector.

I also have an blueprint actor who is a checkpoint. He has a trigger Volumen and a location which have to be The next respawn location when The player has overlaped.

Now i want to know how to change The location of the respawn in The player controller (the vector) when The player touches The trigger of the checkpoint actor.

Thanks in advance

Hey -

When the overlap between the player character and the checkpoint occurs you should cast from the player to the checkpoint and have the player character retrieve and store the respawn vector (make sure that the variable is not hidden in the checkpoint BP). Then when the player controller needs to respawn the character the controller can cast to the player character to get the stored vector.

Cheers

Thanks, it worked :slight_smile: