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 immobile/static objects

A static or immobile object can be interactive, but with a fixed position. It does not move other than animations or scripts that are applied to it – such as a switch that flips when touched, or a marimba that plays a note when struck.

To add a static 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.
    • Vive Object Props (Script) .

Important :

    • Do not apply a rigid body to an immobile/static object.
    • 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) , add your animation to the appropriate animation slot. Animations can be created in Unity or imported as FBX.
  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.