WVR Controller Model¶
In VIVE Wave™, a method is provided to get the model and emitter (direction and ray origin) of the currently connected controller.
To render the model of the currently connected controller in an app, use WVR_GetCurrentControllerModel to get the controller model and then input the model into the graphics card. Remember to call WVR_ReleaseControllerModel to release the model after it has been inputted into the graphics card.
The emitter transformation can be retrieved via WVR_GetCurrentControllerEmitter and can then be applied to the model. It avoids displaying the wrong model when changing to another controller device service.
In SDK4.1.1, we provide controller animation for simulating button pressed. If developer want to use the animation data, developer can use API WVR_GetCtrlerModelAnimNodeData to get animation data. After initialized, developer need to use API WVR_ReleaseCtrlerModelAnimNodeData to release data.
For more information, go to How to Use Controller Model and How to Use Controller Animation.