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
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.