Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

Adding a consumable object

A consumable object disappears once the user interacts with it.

To add a consumable object:

  1. Import the FBX file of your asset. Click Assets > Import New Asset , navigate to your asset, and click Import .
  2. Repeat to import textures and audio.
  3. Drag and place the object from the project window.
  4. Create and assign material, or use the standard.
  5. Drag textures to your object from the project window.
  6. With your object selected, click Add Component in the Inspector window. Add all of the following components:
    • A collider of your choice. If you choose a mesh collider, make sure to specify the mesh it applies to. Keep in mind complex or extremely smooth meshes may have unpredictable results.
    • Rigid Body .
    • Vive Object Props (Script) .

Important : Make sure that the Vive Object Props (Script) component is at the top of the object’s hierarchy, above any meshes.

  1. In Vive Object Props (Script) , select Is Object Consumed to make the object disappear once interacted with.
  2. You can add audio to the corresponding slot, which will play when that action occurs. See Adding interactive audio for details.

Make sure to test your objects, either through Unity or through exporting.