Geornal Scanner

Functions:

Users can hold down the menu button (slightly above the touchpad) to shoot a white beam called the Scanner. When pointed at an object with information, the controller will vibrate. When the button is released, a Geornal (Journal) panel with information about the object scanned will pop up above the controller.

Things you need:

  • The ObjectScan script attached to either controller GameObject.
  • A Pointer prefab (The beam model) as a child of the controller.
  • A Transform (let's call it GeornalHolder) that is positioned where the Geornal Panel will pop up.

How to use:

Option 1: Just use the [VRTK] prefab and everything will be organized for you!

Option 2:

  • Attach the ObjectScan script to the controller GameObject of your choice.
  • Child the GeornalHolder to the controller. Do the same with the Pointer/beam prefab.
  • Attach both of these objects to their corresponding places on the ObjectScan Component.
  • Set the Max Scan Distance for Objects and Rumble Strength (how much the controller vibrates).