Move Player

Moves player smoothly from the start point to endpoint smoothly over specified time.

image
ℹ️
This node needs Teleport Points in your scene to work.

To create a Teleport Point in the scene:

  1. Add an empty Game Object on scene
  2. Add Teleport Point component to the object
image

This is how the Teleport Point look like in the Editor:

image

It has an orientation: in this picture it’s oriented to the right.

Note that Teleport Points are visible by default in Editor. However they are not visible when you enter your scene in Play mode.

image

Time: how long the move should take in seconds

Easing: by default it is Linear, the movement will be at a constant speed. If needed, you can pick another Easing.

Start Point: player will be first teleported to this point, and then start moving to the End Point

End Point: finish point for movement

For this node to work, teleport points always stay invisible to the player. The user will just be moved to the point configured by you, not knowing in advance where it is.

Behavior

Teleports player immediately to the specified start point. Then moves them smoothly to the End Point position. Player can still look around while moving, but teleportation will be locked

Out will be called immediately

Done will be called once the movement stops

Usages

Use it to transport User to specified point smoothly.

To avoid sudden changes of position, it is best to first either teleport player to the starting point with ➡️Teleport Player or ask them to teleport there with Enable Teleport Points.

Then, if you are not going to move them immediately, forbid teleportation with 🥾Allow Teleport / Forbid Teleport after that to prevent user from teleporting away.

To have a smooth user experience, it might be a good idea to use 🎬Fade In / Fade Out .

Forced teleportation variant
Forced teleportation variant
Teleport points variant
Teleport points variant

States

Busy while moving player