SceneGate.component
README.md
SceneGate
Walk into it to travel to another scene of this world. It watches the local player's body and, when that body stands within radius of the gate, loads the target scene on that player's own client; other players stay where they are until they walk through themselves. Put it on any entity (an arch, a lantern post) and give it the scene's identity.
gate.component.add("SceneGate", { scene = "scenes.ridgeRun", label = "Ridge Run" })
| Field | Default | |
|---|---|---|
scene | empty | identity of the scene to load (scenes.gallery, scenes.ridgeRun) |
label | empty | text shown above the gate |
radius | 1.4 | how close counts as walking through, metres |
High Ground uses it to link the traversalKit gallery and the Ridge Run course.