- Download the Hypereal VR Unity Plugin from Hypereal official website.
- Import the
.unitypackage
. - Drag
HyperealVRMain
prefab into the scene. OR- Create an empty GameObject named
HyperealVRMain
. - Create a GameObject named
Camera
underHyperealVRMain
. - Attach
HyCamera
script ontoCamera
and clickExpand
. - Create a GameObject named
HyTrackObjRig
underCamera(origin)
and then create two gameobjects namedLeft Controller
andRight Controller
under it. - Attach
HyTrackObjRig
toHyTrackObjRig
and assignLeft/Right Controller
to corresponding field. - Attach
HyTrackObj
andHyRenderModel
script toLeft/Right Controller
. ForLeft/Right Controller
, setDevice
field on the two scripts toDevice_Controller 0/1
.Names of gameobjects are placeholders, you can use your own.
- Create an empty GameObject named
- Attach
VRTK_SDKSetup
ontoHyperealVRMain
and chooseHypereal SDK
inSDK selection
field.
Note:
- For some versions,
HyPointerLaser
script is attached on the controllers. Remove them before use.- Since we only have one button on each controller, we could not map all VRTK buttons.
- The menu button on the right controller is mapped to VRTK button-menu.
- The menu button on the left is mapped to button-two of VRTK.
- VRTK button-one has not been mapped to any button of the controller.
- Double clicking the menu button is reserved as system menu.
- Single clicking