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...
Auf dieser Seite können Sie das Online-Video Vive Grip - Interaction scripting mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Hover 28 August 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,983 Mal angesehen und es wurde von 20 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!