Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

For an overview of Resources, click here.

Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

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

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

Anchor from changing position.

Fix Orientation

If specified, this setting will prevent the

anchor

Anchor from changing orientation (i.e. rotation, angle).

Events

Open and Activate.

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.

  1. 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:

...

  1. Next, I’ll add the UI Anchor Resource to the

...

  1. Script, attach the

...

  1. Anchor from the Setup Frame, and check the box to “Fix Position”. In this example, I’ve also changed the title:

...

  1. In the next

...

  1. 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:

...

Related Articles

Positional Anchor Resource

Scene Anchor Resource

Fixed and Relative Positions