Download

Teleport player on other side of the screen

hello everyone, i have a simple question how can i achieve this effect on the video i attached ?

i would want to achieve the effect of the video of when the player get out of the screen it get teleported on the other side like an arcade game thank you :slight_smile:

Two actors. Have it so on collision, it casts to the other actor and gets the location of a child actor. Break that vector, and only use either the X or Y not sure which. Then get the Z of the player character by casting to it, and set the location of the character to that location. This way, if the level moves at some point, you can still teleport. You could also just teleport the player a certain distance ± x or y, without casting.

Place a collision box outside the camera’s view: on overlap → Set location on X.

the problem is when it get teleported the velocity speed of player get removed

Is your actor colliding with the box or judt overlaping?

Post a screenshot of your blueprints so that we can be of more help.

Two actors. Have it so on collision, it casts to the other actor and gets the location of a child actor. Break that vector, and only use either the X or Y not sure which. Then get the Z of the player character by casting to it, and set the location of the character to that location. This way, if the level moves at some point, you can still teleport. You could also just teleport the player a certain distance ± x or y, without casting.

:roll_eyes: