Info |
---|
For an overview of Resources, click here. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in. |
Table of Contents |
---|
Overview
The UI Anchor resource Resource attaches an anchor Anchor to an object in the sceneScene. Anchors represent a position in the sceneScene. This anchor Anchor should be used by UI resourcesResources, such as Screen Message or Annotation. Compared to other anchor resourcesAnchor Resources, this resource Resource provides additional optional fields that can enhance the learner interaction experience with UI panels.
...
Scene Anchor Resource: The Scene Anchor Resource attaches an anchor Anchor to a scene objectScene Object. Anchors represent a position in the sceneScene. This anchor Anchor can be used by other resourcesResources, such as the Screen Message and Move User resourcesResources.
Unlike the Positional Anchor resourceResource, the Scene Anchor resource Resource simply attaches to a scene object Scene Object within the sceneScene. Its position cannot be configured.
Positional Anchor Resource: Positional Anchors represent a position in the sceneScene.
You can attach a Positional Anchor to a screen messageScreen 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 Scene either manually or using the VR Editor.
Required Fields
...
Field Name | Description |
---|---|
Position | Specifies the position of the |
Anchor. This position can be one of two types: Fixed Position or Relative Position. The Fixed Position setting allows the author to configure the coordinates of the Positional Anchor, as well as its rotation. The Relative Position setting allows the author to configure the angle, distance, and elevation of the Positional Anchor, as well as its rotation. |
Optional Fields
Field Name | Description |
---|---|
Fix Position | If specified, this setting will prevent the |
Anchor from changing position. | |
Fix Orientation | If specified, this setting will prevent the |
Anchor from changing orientation (i.e. rotation, angle). |
Events
Example in the Headset
In the Motive Lab, I want to display a screen message for the learner in front of the fume hood equipment.
I will add the appropriate UI Anchor created for me by the Assemblers and found in the Project’s Catalogs. Typically this is in the Setup Frame. This will prevent me from having to manually set the coordinates:
...
Next, I’ll add the UI Anchor Resource to the
...
Script, attach the
...
Anchor from the Setup Frame, and check the box to “Fix Position”. In this example, I’ve also changed the title:
...
In the next
...
Frame, I’ll script my messages for the learner. In this case, I’m using Screen Messages-Playable Content:
...
Here are the frames Frames from the above scripting:
...
Here is the view from the headset:
...