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

Open, Activate.

Examples

In the workshop scenarioComplete, Activate.

Using End Script Resource

If you use an End Script Resource in the same Script as this Resource, the Set Object Properties 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 Script, the object will become visible again as soon as the 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 and then use that Event as a condition where needed in other Scripts.

To learn more about Finishing Scripts, click here.

Examples

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

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

...

 

...

Add the scene objects that you will be customizing.  I've added a new frame for Scene Objects and then added the safety hat and the light:

...

...

  1. Add the Set Object Properties Resource.  For the Safety Hat, I set

...

  1. the World Object as the hat and chose

...

  1. the Visibility option.  Then, I left the Visibility box unchecked (this means invisible).  

...

  1. For the light asset, I set

...

  1. the World Object as the lights,

...

  1. 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

...

  1. :

...

Image Added

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