Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

For an overview of Resources, click here.

Overview

Select Object from Interaction has a very specific use case. If there is an object in the scene that contains several of the same types of thing, but you want to specifically target the item that the learner interacted with, this is the resource you need.

Example: In a food safety scenario there was a step where the learner needed to pull a test strip from a dispenser to test the concentration of their sanitizer. We couldn’t be sure that they would use the first test strip that they chose and if they threw a few on the floor before testing, we did not want them to all change color when the one their hand was dipped in the solution. In this case, we used the “Select Object from Interaction” resource to indicate that the one that was in their hand should be the one that reacts to the next step.

Another example: In the Motive Lab, we have a group of glassware items. For this task, the learner must pick up each piece of glassware, rinse it 3 times with purified (deionized) water and then put it away on the shelf. As an author, you can not predict which glassware item the learner will pick up first. To account for this, you can use the “Select Object from Interaction” resource. This resource waits for the learner to interact with an item and sets that as the “active” prop in the scene. You can see this example at the bottom of this article.

Required Fields

Field Name

Description

World Object

Set the object that is currently being interacted with to the world object targeted in this field.

Events

Open and Activate.

Example in the Headset

This is an advanced example of using this resource. For a full description on the scripting below, you can refer to the course in the Motive Academy, or review this video:

template-Script-explaination-1.mp4

In the Motive Lab, the learner is to pick up various glassware pieces and rinse them three times each with water. We are going to use two scripts to run this task, though it could be done in one.

  • The Select Object from Interaction is added into a frame and all the glassware is added:

  • Throughout the script, when there is an option for a Target or World Object, the Select Object from Interaction is used:

When the scripting is done, this is what it would look like in the headset:

https://vimeo.com/834747629?share=copy

View this video in full screen on Vimeo at this link.

  • No labels