-
Posts
850 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Blogs
Events
Store
Downloads
Everything posted by VIVE_chengnay
-
[BUG] Focus 3 input lost after waking from sleep mode - Unity
VIVE_chengnay replied to tamasa's topic in VIVE Wave SDK
Hi @tamasa, Regarding cross platform, I recommend you to use Vive Input Utility(VIU) which can lighten your work. One time coding and you can build your project for PCVR or mobile VR. -
[BUG] Focus 3 input lost after waking from sleep mode - Unity
VIVE_chengnay replied to tamasa's topic in VIVE Wave SDK
Hi @tamasa, It looks like you use the Assets > Samples > Wave > XR > XR > Controller > ControllerSample scene to test. This is a known issue caused by Unity Input System Since you already imported the Essence package, you can refer to another controller sample, e.g. Assets > Wave > Essence > Controller > Model > {version} > Demo > Scenes those will not encounter this issue. Sorry for the late response. -
[BUG] Focus 3 input lost after waking from sleep mode - Unity
VIVE_chengnay replied to tamasa's topic in VIVE Wave SDK
Hi @tamasa, Could you provide log for further investigation? Thanks! By the way, are you using Input Action to get controller position? -
How can I add rotation to the Quest 2 and Focus 3 controllers?
VIVE_chengnay replied to 1099's topic in VIVE Input Utility
Hi @1099, Here is a sample code that you can do snap turn. private float prePadXAxis = 0f; void update() { var padXAxis = ViveInput.GetAxisEx(ControllerRole.RightHand, ControllerAxis.PadX); if (prePadXAxis == 0f && padXAxis < 0f) { transform.Rotate(0f, -10f, 0f); prePadXAxis = padXAxis; } else if (prePadXAxis == 0f && padXAxis > 0f) { transform.Rotate(0f, 10f, 0f); prePadXAxis = padXAxis; } else prePadXAxis = padXAxis; } You need to attach this script to the root(VROrigin) of your ViveCameraRig. All the children(like pointers) will take effect to the rotation. -
How can I add rotation to the Quest 2 and Focus 3 controllers?
VIVE_chengnay replied to 1099's topic in VIVE Input Utility
Hi @1099, May I know what is your goal? In Simulator, we added rotate feature due to user has no actual HMD. But in Quest 2 or Focus 3, user can rotate HMD by turning the head. Are you looking for something like snap turn? -
How can I add rotation to the Quest 2 and Focus 3 controllers?
VIVE_chengnay replied to 1099's topic in VIVE Input Utility
-
Wave Keyboard callbacks not getting called on Focus 3
VIVE_chengnay replied to saltyseabeard's topic in VIVE Wave SDK
Hi @saltyseabeard, Do you mind sharing a sample project for further investigation? Thanks! -
Hi @yowji, Please provide the log for further investigation. adb logcat > xxx.txt Capture before you launch app until it crashes and return to Launcher. Thanks!
-
Hi @yowji, Which version are you using for your project? What is the error log when you launch your app on Focus 3 device?
-
Hi @1099, ViveInput.GetPress or ViveInput.GetPressEx can work for all supported controller types. Why you said it only works for Vive controller? Is there any issue? Please let us know.
- 5 replies
-
- viu
- vive input utility
-
(and 2 more)
Tagged with:
-
Hi @1099, Could you explain more on what actually you need? You can also use the method from Unity, just it is different when using VIU.
- 5 replies
-
- viu
- vive input utility
-
(and 2 more)
Tagged with:
-
Hi @1099, Using VIU, you can use below method to get button input. ViveInput.GetPress(HandRole.RightHand, ControllerButton.Menu) or ViveInput.GetPressEx(ControllerRole.RightHand, ControllerButton.Menu)
- 5 replies
-
- viu
- vive input utility
-
(and 2 more)
Tagged with:
-
No particles in single pass mode Focus 3 in Unity 2021 and 2022
VIVE_chengnay replied to ashum's topic in VIVE Wave SDK
Hi @ashum, In 2019.4, which SDK version did you use? Is the project settings the same when upgrading to Unity 2021.3? -
How to enable and disable menu button with the simulator?
VIVE_chengnay replied to 1099's topic in VIVE Input Utility
Hi @laurafinn, Please try this script. -
How to enable and disable menu button with the simulator?
VIVE_chengnay replied to 1099's topic in VIVE Input Utility
Hi @1099, After revised your script, I got it working with below solution, public GameObject cube; private void OnEnable() { ViveInput.AddListenerEx(HandRole.RightHand, ControllerButton.Menu, ButtonEventType.Down, menuButton); } private void OnDisable() { ViveInput.RemoveListenerEx(HandRole.RightHand, ControllerButton.Menu, ButtonEventType.Down, menuButton); } private void menuButton() { cube.SetActive(!cube.activeSelf); } If you still have issue, please let me know, thanks! -
ViveInputVirtualButton component issue
VIVE_chengnay replied to Veyond_Jimmy's topic in VIVE Input Utility
Hi @Veyond_Jimmy, Could you try pushing joystick up and pressed? I think DPadUp is not just pushing joystick up without pressing the joystick. You can try using DPadUpTouch, see if it can trigger without pressing the joystick. -
Hi @jokke, After checking with my Colleague, he said you can do the following method, VivePoseTracker poseTracker = go.GetComponent<VivePoseTracker>();poseTracker.viveRole.SetEx<TrackerRole>(TrackerRole.Tracker1); Hope this helps, feel free to ask questions if you have any.
-
Hi @jokke, I will check with my colleague whether it is possible to modify ViveRole property. Could you add the prefabs to the scene and set active to false? When you need it, enable them by using script.
-
Hi @jokke, Could you check this out to see if this is ok for your case?