Scene Anchors

In depth learning on Scene Configuration is found in this course in Motive Academy.

Overview

This article describes how you can implement Motive’s premade Scene Anchor component to anchor Objects in a VR scene easily, such as UI elements, audio/video elements, 3D assets, and more. With only a few minor changes made in Unity, this functionality allows for easy and fast spawning using Storyflow, which this tutorial will also cover.

Important: Any Object that will be used as part of a training procedure authored in Storyflow must be a Motive Scene Object, however, the Motive Scene Anchor component also works.

Full Walkthrough

Setup - Unity SDK

  1. Open your Unity project and in the scene Hierarchy window find World

  2. Right-click on World then select Create Empty and name your new empty Object

    1. Make sure you move the Object to a space in the Workshop where you can easily see it, you can do this by playing with the Position values in the Transform component

  3. Right-click your newly made Object and select Motive > Make Scene Anchor

  4. In the Object’s Inspector window scroll down until you find the Motive Scene Anchor component

    1. Scroll to the bottom of the component and where it reads Name type in Anchor1

  5. Save the Scene

Setup - Storyflow

  1. Open Storyflow and select the Catalogs tab

  2. If you do not have a Named Anchor Catalog already, select Create > Select Type > Named Anchor > (Type a name) > Create

  3. Open your Named Anchor Catalog then select + > Named Anchor > (Type in “Anchor1”) > Save

  4. Save the Catalog

  5. Open the Scenarios tab and add a new Script

  6. Under Resources on the right side of the screen click and drag the Scene Anchor Resource into
    the grey area in the center of the screen

    1. Select Anchor + > (Your Named Object catalog) > Anchor1 > Save

  7. In the same grey area mentioned before put the Screen Message Resource (Guide Type) there

    1. “Screen Message” can be typed into the Resource search bar for easy access

  8. Select the drop-down menu under Anchors and select Anchor1

  9. Under Text type Great work

  10. Select Save on the top left of the screen

  11. Create a Scenario if you don’t have one already

  12. Link the Script you created to the Scenario

You can now open your Unity Project select the newly created Scenario, and see your newly made Notification!

Related Articles

Recipes