Positional Anchors: An Overview
To practice scripting and learning about Storyflow features, check out the Author Certification course in Motive Academy.
About Positional Anchors
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 (currently this feature is being redesigned).
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.
Creating Positional Anchors
Follow these steps to create your own, custom Positional Anchor:
Open a Project in Storyflow
Go to your anchor Catalog within the Catalog area and open the Named Positional Anchors folder (or create one if it doesn't exist):
Create a new anchor by clicking on the + icon
Next, we will set the position.
Setting the Position of your Positional Anchors
There are two different position types:
Fixed Position
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.
Another great Resource is the VR Editor. Using this feature, you are able to place the positional anchor in the Scene within the headset.
Example: Playing Media at Positional Anchor
Let's say 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.
Open the appropriate Script and go to the area where your Scene objects are
Use the Catalog icon on the far right to find your positional anchor
Drag the anchor to the Script and save:
Open the Frame where you want to put the Resource. In this example, I want to add a video at the end.
Add the appropriate Resource for the content and select your custom anchor:
Test in the headset:
View the video full screen on Vimeo at this link.
Example: Using World Object Proximity Conditions with Positional Anchor
The World Object Proximity Condition is met when the learner is within range of the specified world objects. In this example, I want a screen message to appear once the learner moves to a certain location that I've determined with my "Anchor 2".
Using the VR Editor, I've placed my "Anchor 2" in front of the paint cans in my Workshop:
In my Script, I've added the World Object Proximity Condition to the desired Frame. In this case, it has become a Compound Condition (two or more Conditions) because I want this to trigger when the last Notification has been closed by the learner AND they come within the *range I've specified of my "Anchor 2":
I've added a Screen Message and a Notification sound to play once the learner is in the correct spot:
When I test in the headset, you can see that the Resources play once the Conditions above are met:
For full screen please view on Vimeo at this link