For an overview of Resources, click here.
Overview
The Scene Anchor Resource allows you to insert a positional anchor into the scene. This anchor can be used by other resources, such as the Screen Message and Move User resources. This is commonly used if a catalog of Positional Anchors has been created and you want to pull them in.
Other Types of Anchors
Named Anchor (Catalog Type): Anchor that exists inside the APK (predetermined) and is not configurable. Scene Anchors are found here.
Positional Anchor Resource: Positional Anchors represent a position in the scene.
You can attach a Positional Anchor to a screen message, a sound, a 3D asset, and more. You can also use them with World Proximity Conditions to know if a learner has moved to a certain spot in the VR simulation.
These anchors are customizable as you can create and determine a custom position within the scene either manually or using the VR Editor.
UI Anchor Resource: The UI Anchor Resource attaches an anchor to an object in the scene. Anchors represent a position in the scene. This anchor should be used by UI resources, such as Screen Message or Annotation.
Compared to other anchor resources, this resource provides additional optional fields that can enhance the learner interaction experience with UI panels.
Required Fields
Field Name | Description |
---|---|
Parent | If set, specifies a parent anchor or object. This allows you to share anchor names between multiple objects. |
Anchor | Specifies the anchor to which this Scene Anchor is attached to. |
Events
In the Headset
In the Workshop script, I've added a scene anchor for a positional anchor I've created using the VR Editor. Then, I've added a screen dialog message using the custom anchor in the scene:
Here is what that looks like in the headset: