Make an Object Interactable in a Few Seconds

In Unity, the easiest way to make a GameObject interactable is to add a VG_Articulation component.

Conditions for Interactable Objects

The following two conditions have to be met:

  1. The GameObject must have a MeshRenderer component (representing the actual 3D shape data) assigned to it.
  2. The source of that MeshRenderer must have the “Read/Write enabled” checkbox checked in the model inspector.

Only the MeshRenderer on that GameObject will be interactable, i.e. no MeshRenderers in the hierarchy below it.

The GameObject will be made interactable with the hands through VG’s object articulation feature. However, if you also want to get natural grasps then a preprocessing step called object baking is needed.

Customizing Layers and Component Names

VirtualGrasp is using names to identify which objects are marked as interactable. You can customize component and layer names in MyVirtualGrasp → Object Identifiers. “VG_Articulation” is a default entry, but this method also allows you to quickly adjust your project if you already have a layer or a component that marks your interactable objects.

Unity Object Identifiers.
VG will use the Object Identifier list to browse components and layers for interactable objects.