Jump to content

12345467860785678

Verified Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by 12345467860785678

  1. This is the setting for my project, and it work well on focus3 & quest2: 

    1. Import WaveDeviceLayouts.cs

    2. Change your XR Rig's components value as below

    image.png.7f3db4ef2b9807826db9dae09fd82ee5.png

    image.png.544cc2f67dba88a7edfd4d11114060df.png

    Add Quaternion Fallback for RotationAction was very important, My Focus can track the rotation after doing this.

    XRHMD was not required if you don't need quest2 or other device. 

     

    Hope it help for anyone who has same trouble.

  2. @chengnay I edit all of Enum VRModuleDeviceClass.Controller to VRModuleDeviceClass.TrackedHand.

    And the lines 252, 422, 441, and 811 got change.

    I just restore the changes of line 252 and 811 be it still not rendering.

    by the way I got a warning :

    The package cache was invalidated and rebuilt because the following immutable asset(s) were unexpectedly altered:Packages/com.htc.upm.vive-input-utility/VRModule/Modules/SimulatorModule.cs 

    So maybe I don't have permission to edit this file?

  3. @chengnay It seem that still wasn't working to me...

    Here is my testing code, and it will always print "Nothing" is there anything I miss it?

    public class Test : MonoBehaviour
    {
        public void Update()
        {
            if(VivePose.TryGetHandJointPose(HandRole.LeftHand, HandJointName.IndexTip, out var indexTip))
            {
                RuntimeDebug.Log($"indexTip pos={indexTip.pose.pos}\r\n rot={indexTip.pose.rot}");
            }
            else if (VivePose.TryGetHandJointPose(HandRole.LeftHand, HandJointName.IndexProximal, out var indexProximal))
            {
                RuntimeDebug.Log($"indexProximal pos={indexProximal.pose.pos}\r\n rot={indexProximal.pose.rot}");
            }
            else
            {
                RuntimeDebug.LogWarning("Nothing");
            }
        }
    }

  4. @chengnay Sorry, but how can I get the variable "hand" in your example code?

    And ViveJointPoseTracker seem notworking to me. the log will just log once time when I open my fingers, and it won't update anymore.

    Am I wrong in my understanding on this API?

    My testing code:

    public class Test : ViveJointPoseTracker
    {
        public override void OnNewPoses()
        {
            RuntimeDebug.Log($"{posOffset}\r\n{transform.position}\r\n{origin.position}");
        }
    }

  5. It seem like I miss something on ViveCameraRig, I can grab the dice by using VROrigin in sample scene but can't by using ViveCameraRig in my scene.

    But I don't know what is missing in ViveCameraRig, may you tell me which components were really require?

  6. I can't found my app in my focus library, but it's package can be found by using adb command.

    It was prefectlly working before, but since i swtich the platform to oculus and switch back to WaveVR, it can't work anymore. (oculus platform still working)

    Did i miss anything to setting?

    And here is my project settings and packages.

    image.png.1931f2694b01df26bf5fca301289221b.png

    image.thumb.png.8c64bf4a3cf99d00dcb5172d374d7645.png

    image.png.aae58d6beb7a508e698559068420d528.png

     

     

  7. Hi @chengnay

    My VIU version is 1.13.2. and I have updated VIVE Wave XR Plugin to 4.1.0-preview.5.1 to make Wave be compatible with VIU. 

    And I have checked the .asset file just like the picture in your previous reply.

    The scene on which I am testing is the sample inside the VIU package named "9. Tracked Hand UGUI Interaction"

    Sorry, but I have no idea where to retrieve the logs, Could you please tell me where it is?

    And here is my apk file
    https://drive.google.com/file/d/1HhUcQMwHxt6h_rocbLiIY5zEcOcK1feD/view?usp=sharing

  8. I,m trying to create a project that cross platform for vive focus 3 and oculus quest2 with unity.

    Focus3 hand tracking worked on "VIVE Wave XR Plugin - Essence" demo, but not working at "9. Tracked Hand UGUI Interaction" from VIE's sample (but it worked on oculus quest2.)

    so dose VIU's hand tracking supported to focus3?

    or did i miss something that required?

    These are my setting in the project.

    2021-07-19_144140.png

    2021-07-19_144211.png

    2021-07-19_144320.png

×
×
  • Create New...