Scene Anchor Resource
For an overview of Resources, click here.
Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.
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 Resource message using the custom anchor in the Scene:
Here is what that looks like in the headset:
Related Articles