Pawn Teleports to a vector when unpossessing.

I have a pawn that has a custom static mesh(airship). There is an interior to the ship that can be walked around in as a 3rd person character. When you walk up to the steering wheel you can press E to possess the ship and steer it around. When you press E again, you unpossess the airship and teleport to the arrow that is right behind the steering wheel.

ISSUE: Whenever I unpossess the airship to return to 3rd person, the airship teleports to a FORWARD vector like 20 meters and UP along the z axis 20 meters. My 3rd person character is still behind the steeringwheel which is good, but the ship is just not where I left it when I unpossessed. The issue continues to move each time i subsequently possess and unpossess.

Might this be an issue with the Origin of the airship or something?

You should put the ref to your BPThirdPersonChar into the set transform target instead of ref to self

Did I do this correctly?

That worked to solve the issue of the ship teleporting wonky when i unpossess the airship, but only if i don’t move the airship. If i move the ship, after i MOVE the ship and unpossess it, when I return to my third person character, it teleports me way out in front of the airship. Is my arrow moving incorrectly or something?

You probably don’t want the sweeps when setting transform. Sweep moves from current to requested location but will stop on hit.

The setting airship location to its own location on unpossess doesn’t make sense.