3dsolution Posted October 1, 2019 Share Posted October 1, 2019 UnityでVIVE Wave™ SDK3.1.1 How to grab an object with the VIVE focus plus controller? Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted October 1, 2019 Share Posted October 1, 2019 @3dsolution Are you asking how to write the cs script code to grab an object in Unity? Have you tried Vive Input Utility? Link to comment Share on other sites More sharing options...
Tony PH Lin Posted October 3, 2019 Share Posted October 3, 2019 Hi @3dsolution, I think you're asking the behavior of “grab” like “drag”. The “drag” is: pointing to an object, pressing the Touchpad key over 0.2s then the object can be dragged. The sample code is under SDK package “Assets/Samples/ControllerInputModule_Test/”. So the “grab” behavior will be like: pointing to an object, pressing the Grab key over 0.2s. BUT the Focus+ controller does NOT have the Grab key, you can use the Trigger key instead. If you'd like to design the “Real Grab”, you have to implement the 3D hand model inside content. When the 3D hand model “collides” the object, press the Trigger key to grab the object. Hope this is helpful. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.