Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

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

Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

Overview

This article describes how you can implement Motive’s premade Scene Anchor component in order to easily anchor objects 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 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.

...

Setup - Unity SDK

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

...

  1. World

  2. Right-click on World then select

...

  1. Create Empty

...

  1. and name your new empty

...

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

  2. Right-click your newly made

...

  1. Object and select

...

  1. Motive > Make Scene Anchor

...

  1. In the

...

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

...

    1. Anchor1

  1. Save the

...

  1. Scene

Setup - Storyflow

  1. Open Storyflow and select the Catalogs tab

  2. If you do not have a

...

  1. Named Anchor Catalog already, select

...

  1. Create > Select Type > Named Anchor > (Type a name) > Create

...

  1. Open your

...

  1. Named Anchor Catalog then select

...

  1. + > Named Anchor > (Type in “Anchor1”) > Save

...

  1. Save the

...

  1. Catalog

  2. Open the Scenarios tab and

...

  1. add a new Script

  2. Under Resources on the right side of the screen click and drag the

...

  1. Scene Anchor Resource into
    the grey area in the center of the screen

    1. Select

...

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

  1. In the same grey area mentioned before put the

...

  1. Screen Message Resource (Guide Type) there

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

  2. Select the drop-down menu under Anchorsand select Anchor1

  3. Under Texttype

...

  1. Great work

  2. Select Save on the top left of the screen

...

  1. Create

...

  1. a Scenario if you don’t have one already

  2. Link the Scriptyou created to the Scenario

You can now open your Unity project Project select the newly created scenarioScenario, and see your newly made notificationNotification!

Related Articles

Recipes