Please help how i can do this teleport

Hi im literaly new on UE5 and love this engine but i really wanna make short game about when me character shot spell or bullet and this bullet colision with box then character teleport to this box place and box go to character place u know some like teleport movement. Sry for bad eng.

Not to give you direct answers, but I will hopefully point you in the right direction.

You can use the OnHit event of your bullet/projectile to know when it collides with something, and it returns data such as the location of the hit.

You can use the Teleport function to teleport an actor to a specified location and rotation.

Hopefully these resources help you get started, good luck :slight_smile:

1 Like

Hey there @MariushGGWP! Welcome to the community! So Devin already gave you the best answer possible in that building it by hand will definitely help you learn. Only thing I’m bringing to the table, is if you get stuck implementing it yourself, here’s a tutorial that does something similar!

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

2 Likes

Thank u all for help :slight_smile:

1 Like