PRODUCTS
EXPERIENCES
APPS & GAMES
SUPPORT
Meta accounts are here: you can create a Meta account to log into VR devices.
Learn more
META HORIZON WORLDS
LEARN TO CREATE
INTRO TO CREATION
INTRO TO HAND TOOLS
INTRO TO GIZMOS
INTRO TO SCRIPTING
PUBLISHING
LOCAL SCRIPTING
EVENTS
MOTION
ACTIONS
RESOURCES
BROWSE TUTORIALS
WELCOME TO TELEPORTING PLAYERS
In this series we will create scripted interactions to take gizmos to the next level. We are going to start with a teleport script to introduce you to the elements of scripting.
Seen above is the spawn gizmo in the Intro to Creation world.
Next Up
GIZMOS
Teleporting can be a lot of fun and also extremely useful. Consider the need to respawn someone who accidentally falls off or through your world.
CODEBLOCKS
Now we are ready to define when the player will get teleported. For that we will need an event, on the right, under Player Events, you’ll see When Trigger is Entered by Player.
VARIABLES
At the end of the When Trigger is Entered by Player event, you will notice a green Player pill shape. This represents the player that entered the trigger.
QUEST 3
QUEST PRO
QUEST 2
ACCESSORIES
RIFT S
APPS & GAMES
SUPPORT
DEVELOPERS
VR FOR WORK
ALL PRODUCTS
Quest 3
Quest Pro
Quest 2
Quest 2 (Refurbished)
Rift S
Accessories
Quest
Go
Rift
Compare Headset
MORE META QUEST
Forums
Blog
Referrals
VR for Good
Creators
Download SDKs
ABOUT
Careers
Meta Connect
Research
ALL PRODUCTS
Quest 3
Quest Pro
Quest 2
Quest 2 (Refurbished)
Rift S
Accessories
Quest
Go
Rift
Compare Headset
MORE META QUEST
Forums
Blog
Referrals
VR for Good
Creators
Download SDKs
ABOUT
Careers
Meta Connect
Research
Privacy
Legal
© Meta 2024