teleport or spawn

Good afternoon
there is one thing I would like to know, I have ready-made static mesh models
I need to make it so that when a player steps on a box script, a ready-made static mesh will teleport behind him or be created. I would like to make at least 2-3 such script boxes.
I wanted to know how this is done, whether it needs to be connected through the box script or through the blueprint of the character.
I also wanted to know whether the should be in a static mesh or just like an actor?

Hello,

There’s tons of ways to do this.

But for simplicity-sake, I’ll give you one way.

You can create a Blueprint that contains a Box Collision. Add an ON_COMPONENT_BEGIN_OVERLAP.

From the overlap function, you can attach a function that spawns whatever you want into the project, using the SPAWN_ACTOR node.

Make sure that the translation is where you want it to spawn and not at the origin of the project (which it is, by default).

If any of these concepts are unfamiliar to you, just Google them, as they are basic functionality.