Teleport player with boxTrigger

Hi,

I have a probleme. I would like to make a teleport with a box trigger.

When the player touch the box trigger, he is teleported to the opposed of the map.

I use SET ACTOR LOCATION AND ROTATION.

I would like that the player keep his Y and Z position but just move the X position.

Why is not functionally ? The player is teleported but don’t keep his two other positions.

Thanks for your help, and sorry for my English ^^.

No body can help me ? I turn around.

Hey VIIPab-

What happens when your character teleports? Using a trigger volume, I set up my level blueprint following your image and was moved along the X axis without changing my Y or Z as expected.

Thanks for your answer. When my player penetrate in the box trigger, he is teleported but my Y and Z axis changed. When I take a plane and i fly, when i touch the box trigger, my plane teleport but i’m not in the sky like I touch the box, but I’m teleported in the floor.

What type of project are you working with (first person, third person, code, etc)? Also, are you using the level blueprint or are you creating a new one?

Hey VllPab-

If you use another “Get Player Pawn” node rather than the “Get Player Controller” node for the new location setup then you should get the movement you’re looking for.

Thanks so much. My blueprint work. I find the problem. I have a problem with my vehicle physic asset. He haven’t collision. But When I touche the box trigger with the default character that function. Thanks for all your answer

It’s a FPS Blueprint. But I have test the box trigger with a fly blueprint, and I have a error with my collision Sketal Meshes.