Select Object from Interaction Resource
For an overview of Resources, click here.
Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.
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
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:
In the Motive Lab, the learner is to pick up various glassware pieces and rinse them three times each with water.
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:
View this video in full screen on Vimeo at this link.
Related Articles