VR Grabbable Instantiator
In depth learning on Basic Scene Configuration can be found in this course in Motive Academy.
Allows the user to grab any number of identical items from a dispenser: e.g. nitrile gloves, paper towels, chemical test strips, etc.
Fields
Name | Description |
---|---|
Prefab | The Prefab of the item to instantiate every time the user grabs. |
Precache Copies | Number of copies of the Prefab to precache. |
Max Instances | The maximum number of instances that can be created (-1 = no limit) |
Recycle Instances On Reset | If true, removes all instantiated items from the scene when the Scenario resets. |
Grab Points | A set of colliders that represents the areas where the user can grab. |
Allow Distance Grab | Whether the user can grab an item from a distance. |
Actions
Name | Description |
---|---|
On Grabbable Instantiated | Fired when a new item has been instantiated. |
Authoring
You will often find that you want to target a specific instance of an instantiated Grabbable while authoring. For example, if the user dips a test strip into a bottle, you may want to target this test strip to change the color to match the concentration of the chemical in the bottle. The normal approach of targeting a Scene Object with the name “Test Strip” would end up changing the color of all of the Test Strips in the Scene.
The “Select Object from Interaction” Resource is your solution. This Resource allows you to target a set of multiple objects, but will only represent the objects that you actually use in a particular interaction.