Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
In depth learning on Scene Configuration is found in this course in Motive Academy. |
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
This article describes how you can implement Motive’s premade Scene Anchor component to anchor objects Objects in a VR scene easily, such as UI elements, audio/video elements, 3d 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
Open your Unity project and in the scene Hierarchy window find
...
World
Right-click on World then select
...
Create Empty
...
and name your new empty
...
Object
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
Right-click your newly made
...
Object and select
...
Motive > Make Scene Anchor
...
In the
...
Object’s Inspector window scroll down until you find the Motive Scene Anchor component
Scroll to the bottom of the component and where it reads Name type in
...
Anchor1
Save the
...
Scene
Setup - Storyflow
Open Storyflow and select the Catalogs tab
If you do not have a
...
Named Anchor Catalog already, select
...
Create > Select Type > Named Anchor > (Type a name) > Create
...
Open your
...
Named Anchor Catalog then select
...
+ > Named Anchor > (Type in “Anchor1”) > Save
...
Save the
...
Catalog
Open the Scenarios tab and
...
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 screenSelect
...
Anchor + > (Your Named Object catalog) > Anchor1 > Save
In the same grey area mentioned before put the
...
Screen Message Resource (Guide Type) there
“Screen Message” can be typed into the Resource search bar for easy access
Select the drop-down menu under Anchorsand select Anchor1
Under Texttype
...
Great work
Select Save on the top left of the screen
...
...
a Scenario if you don’t have one already
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!