The Teleporter component allows creators to set up teleporters around their map to help players quickly travel between different areas.
The component uses a data table to make connecting teleporters quick and simple.
How to use
An example template is included that contains 2 teleporters that are linked to each other. When the player enters the outside teleporter, the player will be teleported to the inside teleporter in the cafe.
To have a specific rotation for the player when they are teleported, you can rotate the root object. If the rotation is 0, 0, 0, then it will maintain the player’s rotation.
To create your own teleporters, there is a Teleporter template that can be used. The template contains 2 custom properties on the root of the template.
If enabled, the name will appear above the teleporter for the player.
The name of the teleporter that will be transferred to.
If enabled, the player will be rotated based on the PlayerRotation value.
If enabled, the camera will be rotated based on the PlayerRotation value.
The rotation of the player when spawning at this portal.
Connecting teleporters is very easy. In Project Content find the Teleporters data table and open it. You will see 3 columns, From, To, and TwoWay. Add teleporters to the From and To column, the TwoWay column can be enabled if players can go back through the teleporter.
Teleporters can be chained easily. For example, from A to B, B to C, and so on.
1 thought on “Teleporter”
Pingback: Core Academy Essentials - Core Academy