Wave VR
  • Release Notes
  • About VIVE Wave
  • Wave Native SDK
    • Native SDK Getting Started
    • SDK Overview
    • Configure App Capabilities
    • Tutorials
  • Wave Unity SDK
    • Unity Plugin Getting Started
    • Unity Samples
    • Simplest Sample: Control a Cube
    • WaveVR_ControllerLoader
    • WaveVR_Beam
    • WaveVR_CameraTexture
    • WaveVR_Controller
    • WaveVR_ControllerPointer
    • WaveVR_ControllerInputModule
    • WaveVR_ControllerManager
    • WaveVR_PermissionManager
    • WaveVR_PoseTracker
    • WaveVR_Reticle
    • WaveVR_Utils
    • WaveVR_Raycast
    • WaveVR_Resource
    • ControllerConnectionStateReactor
    • WaveVR_Gaze
    • WaveVR_IME
    • WaveVR System Events
    • WaveVR_Arena
    • WaveVR_EventSystem
    • Porting Guide
    • Porting from SDK 2.0.25
  • Wave PluginKit SDK
    • VRDeviceService
    • VRDevice Guide
    • PluginKit SDK Tutorials
  • Wave OEM SDK
 
Wave VR
  • Docs »
  • Link-like Controller Model

Link-like Controller Model¶

WaveVR, by default, provides Link-like controller models including related resource, texture, effect, script ... etc. They are all stored as prefab to use with convenience and located under the folder ControllerModel/Link. The Link-like prefabs contain

  • vr_controller_tank_0_8_MC_L
  • vr_controller_tank_0_8_MC_R

L means left-hand and R means right-hand. Each prefab contains a Link-like controller which is rendered automatically when the assigned device is connected. We added the components WaveVR_ControllerPoseTracker and ControllerConnectionStateReacter under each prefab to track the rotation, position, and the connection state of the controller:

In the Link project, all buttons are defined as

  • Touch
  • Trigger
  • Menu
_images/controllerprefabs04.jpg

How to Use¶

The controller loader will automatically initialize the controller model. However, you can also directly drag the controller model to a scene without the controller loader.


© Copyright 2018 HTC Corporation. All Rights Reserved.

Sphinx theme provided by Read the Docs