Finch-like Controller Model¶
WaveVR, by default, provides Finch-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/Finch. The Finch-like prefabs contain
- WVR_CONTROLLER_FINCH3DOF_1_0_MC_L
- WVR_CONTROLLER_FINCH3DOF_1_0_MC_R
L means left-hand and R means right-hand. Each prefab contains a Finch-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:
There are 3 objects on finch controller model, including
- Controller model visualization
In the Finch project, all buttons are defined as
- Touch
- Bumper
- Menu
- Volume
- Home
and present press effect of all buttons, for example
- Touch dot
- Touch press
- Bumper press
- Volume key press
- Menu key press
- Home key press
However, controller model will show indicator (tip) if controller pitch angle is more than 30.
Note. “Trigger” is for users’ understanding, it is “Bumper” in reality.
- Beam
A raycast from controller forward.
- Controller pointer
The focus of controller.
Resource¶
Controller model WVR_CONTROLLER_FINCH3DOF_1_0_MC_R/WVR_CONTROLLER_FINCH3DOF_1_0_MC_L are located under Assets/ControllerModel/Finch/Resources/Controller
Scripts Finch_3DOF_Controller_MultiComponent_Behavior.cs are located under Assets/ControllerModel/Finch/Scripts
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.