How do I teleport an actor behind the player?

So I’ve set up a blueprint which teleports an actor to the players current position:

Now what I want to do is make it teleport at the players location but adjust the x location is it appears behind the player. I don’t want it to teleport based on the players rotation, just the x value adjusted.

Hello Brandon,

if your looking for something like putting a pickup on the back of your player maybe you should set up a socket on the player’s back.

https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/

I hope this is what you were looking for good luck :slight_smile:

I want to add to this that you can add the player character’s forward vector to the player character’s position to always have your actor remain behind the player no matter what direction they are facing, like this:

Simply multiply the forward vector by the distance you want between your actor and the player. (I’ve also made it rotate with the player so it would always face the same direction, that part is totally optional)

Right click on your GetWorldLocation nodes return value output, click on split struct pin then make same thing for your teleport nodes dest location input. Connect y and z values directly. Now you can adjust x value.