Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

For an overview of Resources, click here.

Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.

Table of Contents

Overview

The Set Object Properties resource Resource changes the specific properties of a scene objectScene Object. This resource Resource can be used to make a scene object Scene Object visible or not, or, change the light properties of a light asset.  

Required Fields

...

Field Name

Description

World Objects

Specifies the objects in the

scene

Scene to be modified

Property

Specifies the property to be changed.

There are two different types of properties that can be changed: Visibility, and Light properties.

The Visibility property, when unchecked, can make a

scene object

Scene Object invisible. Though the object is still in the

scene

Scene, it cannot be seen by the learner.

The Light property can be used to change the light properties of a light asset (will not work on other assets).  The author can adjust the light's intensity, color, and range.

Events

Complete, Activate.

Using End Script Resource

If you use an End Script Resource in the same script Script as this resourceResource, the Set Object Properties resource Resource will close. For example, if you set an object up to be invisible and then there is an End Script Resource in the same scriptScript, the object will become visible again as soon as the frame Frame with the End Script Resource fires. An alternative to using the End Script Resource is to create a custom event marking the end of the script Script and then use that event Event as a condition where needed in other scriptsScripts.

To learn more about Finishing Scripts, click here.

Examples

Here are a few different ways you can use this resourceResource.

In the workshop scenarioScenario, I want to make the safety hat invisible to the learner and I want a green light to emit from the light fixture.   

  1. Add the Set Object Properties Resource.  For the Safety Hat, I set the World Object as the hat and chose the Visibility option.  Then, I left the Visibility box unchecked (this means invisible).  

...

  1. For the light asset, I set the World Object as the lights, chose Light Properties from the Properties list, and then determined my light properties:

...

  1. After saving and testing in the headset, this was the result:

...

Another example is make items the learner is wearing invisible.

PPE items such as the safety vest behave differently in the scenario based on a learner’s height or stature. You may find that after donning the vest or other item that it obstructs your view of tasks in the scene. You do have the ability to make these PPE items invisible after putting them on.

  1. Add the Set Object Properties Resource and fill it out:

...

  1. Here is the before and after:

...

Related Articles

End Script Resource

Custom Event Resource

Deactivate Resource Resource