...
Adding a Positional Anchor from Catalog to a Script
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, 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:
...
In the Motive Lab, I want to move the backpack to the cubbies as it is in the way and creating a hazard in the work environment.
First, I’ve created a Positional Anchor by manually entering in values in a new catalog “Custom Anchors”:
...
In the setup frame, I will add the backpack and the Positional Anchor I created:
...
I’ll add a Screen Message to let the learner know what will happen:
...
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:
View file | ||
---|---|---|
|
You can view this scripting in the headset in this video:
...
To view this video in full screen on Vimeo, click here.