Teleport Players

Making navigation easy for users can help guide experiences while decreasing frustration.

Using hotspots

Add two sets of hotspots at the top and the bottom of the stairs. Because hotspots only allow one avatar to be on them at a time we’ve added 3 to allow for players to be teleported at the same time and stopping the stairs from being overtaken by someone constantly jumping between the hotspots.

The hotspots pointing towards the stairs are the trigger spots, whereas the hotspots pointing away from the stairs are the landing spots.

Landing hotspots should be set as Active false because players will never click on them, they will only be used as a teleport destination.

Hotspots set to not active will appear in dark grey in edit mode and be invisible in navigation mode.

Edit mode

Navigation mode

Using the spottag field in hotspots can help to identify which hotspot a player should be teleported to. If a spottag has the same label in multiple hotspots the player can randomly appear in any one of them and also avoid trying to appear in one that is already taken by another avatar.

Use the spottag field to give all 3 upstairs landing hotspots the same label, in this case upstairs1

Use the spottag field to give all 3 downstairs landing hotspots the same label, in this case downstairs1

Add an action to the On Hotspot Enter event field

https://hyperspace.mv/academy/scenario-actions/#h7snwyt1v1wy8

{"action":"teleportPlayerToSpotTag", "spotTag":"upstairs1"}

Do this for all 3 downstairs trigger hotspots

Then do the same for the upstairs trigger hotspots

{"action":"teleportPlayerToSpotTag", "spotTag":"downstairs1"}

How useful was this article?

Click on a star to rate it!

We are sorry that this article was not useful for you!

Let us improve this article!

Tell us how we can improve this article?