Note: This article applies to both Prime 3 Haptic XR Gloves and Prime 3 Mocap Gloves

Note: This article applies to both Quantum Mocap Metagloves and Quantum XR Metagloves.

Setting up the hand

Picking up objects
  1. Add the “HandGrab” script to the wrist bone.

  1. For the ghost hand effect add the “InteractionHand” script to the same object that contains the “Skeleton” script

  1. You can modify the grab radius or the physics layer

Interacting with buttons/switches

To interact with object you need collision, you can do this manually or add the “ColliderGenerator” script provided with the plugin to the same game object that contains the skeleton script

Teleporting

Place the “teleporter” prefab under the wrist bone

Setting up interactables

Grabbables
  1. Add the “GrabbableObject” script on the object that you want to make grabbable

Make sure the object has a collider component as well

  1. (Optional) If you want to make the object throwable add the “ThrowableObject” script as well

Make sure the object has a collider component as well

 

Switches

  1. Add the “RockerSwitch” component to the object

  1. Add two collision areas for both sides of the switch with colliders

  1. Set the pivot of which the switch should rotate
  2. Set the rotation amount

Turnables
  1. Add the “TurnableObject” component to the     object you want to be rotatable

  1. Set the turn axis and the up axis, the up axis should be perpendicular to the turn axis
  2. Make sure the object has a collider component

Sliders

  1. Add the “MovableObject” component to the object you want to be movable

  1. Set the start and end position of the slider
  2. Make sure the object has a collider component

Buttons

  1. Add the “PushButton” component to the button

  1. Assign the moving part of the button
  2. Assign the two collision areas for pressing and releasing

download pdf