Looking to script interactions with objects using the HTC Vive in Unity? This video will show you how using Vive Grip's messaging system.
Asset Store: http://u3d.as/t55
GitHub: https://github.com/JScott/ViveGrip
Tutorial steps:
Create a button object
Set up SteamVR and Vive Grip prefabs (see the "Basic grabbing" tutorial)
Add the "ViveGrip_Interactable" component to the button
Create a script that implements "ViveGripInteractionStart" and "ViveGripInteractionStop"
Add the script to your button
Account for multiple controllers interacting at once
As of v2.6.0, you can also use the Inspector to connect Vive Grip events and methods with the "ViveGrip_EventBridge" component. Details are in the documentation.
The API document describes the event methods available. A message gets sent to the object and the controller for every Vive Grip event: https://github.com/JScott/ViveGrip/bl...
In questa pagina del sito puoi guardare il video online Vive Grip - Interaction scripting della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Hover 28 agosto 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,983 volte e gli è piaciuto 20 spettatori. Buona visione!