Meta accounts are here: you can create a Meta account to log into VR devices. Learn more

LOCAL SCRIPTING INTRODUCTION

Local scripting allows for responsive scripts. By default, scripts run on the server. This means that when players press a button or move around the world, their headset has to communicate with the server before their actions can have an impact on the world around them. This takes time, and that is why there’s a delay when running scripts on the server. Local scripting means that the scripts run on a player’s headset rather than on the server. This allows events triggered by a player’s controller to respond instantly for the player. In addition, local events can update every frame. As an example, when a player moves in the world, a local event can run a loop that tracks that movement. This allows objects to precisely follow a player without lagging behind.
Seen above is the script used to track a players movement.

Next Up