Shows Teleport Points in the scene, prompting user to teleport to such a point. When user teleports to a point, an according flow action can be taken. This is a great way to ask user to move to a certain part of the scene.
Teleport points will be shown as blue dots on screen
To create a Teleport Point in the scene:
- Add an empty Game Object on scene
- Add Teleport Point component to the object
This is how the Teleport Point look like in the Editor:
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.
The Teleport Points stay hidden until they are activated with this node. Here’s how it works.
- When this node is executed in Flow, all referenced Teleport Points show up in the scene.
- User can then click on point to move to it.
On the basic level, just one Teleport Point will suffice.
Outputs:
- Out is executed instantly
- Point Changed is executed every time player selects any point
- Each point has it’s own output that is executed when player moves there. If you don’t see those outputs, click Refresh
- Break disables teleport points
Parameters:
- Teleport Points: list of points that player can teleport to
- Transition Easing: type of smoothing used when players is moved to the point
- Transition Speed: speed of player movement to the point
Usages
Prompt user to teleport to a certain point to prepare them for the next actions.
States
Busy when there are objects that can be selected.
Error if you start any other selection. Only one selection can be active at the same time.
Notes
An alternative to this node is Move Player From Current Position , however the latter just moves player to the needed location. Typically it’s a good idea to give users control, and therefore this node is preferred for better user experience.