Please Select Your Location

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

Adding a Pickup-enabled object

A pickup-enabled object can be picked up by the end user, thrown, or put down again.

To add a pickup-enabled 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 the object(s).
  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 . For pickup-enabled objects, make sure Kinematic is cleared.
    • Vive Object Props (Script) . Select Pick Up Item for a pickup-enabled object.

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

  1. You can add audio to the corresponding slot, which will play when that action occurs.
  2. Make sure to test your objects, either through Unity or through exporting.

The VIVEPORT Scene SDK includes the Pickup Cube prefab with all of these enabled. It uses the following components: Box Collider , Rigidbody , and Vive Object Props (Script) .