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

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.

Info

The author is also able to specify an anchor to which this Positional Anchor is attached to.

If an anchor/scene object is specified, the Positional Anchor's position will be relative to the anchor's origin/pivot point. Otherwise, the anchor will be relative to the scene's point of origin.

Other Types of Anchors

Named Anchor (Catalog Type):  Anchor that exists inside the APK (predetermined) and is not configurable.  Scene Anchors are found here.

Scene Anchor Resource:   The Scene Anchor Resource attaches an anchor to a Scene object. Anchors represent a position in the Scene. This anchor can be used by other Resources, such as the Screen Message and Move User Resources.

Unlike the Positional Anchor Resource, the Scene Anchor Resource simply attaches to a Scene object within the Scene. Its position cannot be configured. 

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

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.

More information on positioning can be found here:

Fixed and Relative Positions

Events

Open and Activate.

Example in the Headset

...

Adding a Positional Anchor from Catalog to a Script

Let's say In the Motive Lab, I want to add a video at a certain point in the scene in a particular location.  I'll use the positional anchor to place the video exactly where I want.  I've previously used the VR Editor to create a custom location, instead of manually adding a fixed or relative position.  

  • Open the appropriate script and go to the area where your scene objects are

  • Use the Catalog icon on the far right to find the positional anchor

  • Drag and drop the anchor to the Resources pane of the script and save

  • Open the frame where you want to put the Resource. 

  • Add the appropriate resource for the content (in this example I’ve added a Screen Media Resource to show a video)

  • Select your custom anchor from the dropdown:

...

  • Test in the headset. The Resource should appear at the location of the Positional Anchor:

...

to move the backpack to the cubbies as it is in the way and creating a hazard in the work environment.

  1. First, I’ve created a Positional Anchor by manually entering in values in a new catalog “Custom Anchors”:

...

  1. In the Setup Frame, I will add the backpack and the Positional Anchor I created:

...

  1. I’ll add a Screen Message to let the learner know what will happen:

...

  1. When the Screen Message is closed, the backpack will be moved by utilizing the Move Object Resource with the Positional Anchor added:

...

Here is what the Frames look like for the above scripting:

...

You can view this scripting in the headset in this video:

...

To view this video in full screen on Vimeo, click here.

Related Articles

Scene Anchor Resource

UI Anchor Resource

Spawn Asset Resource