#Needle XR Controllers

1 messages · Page 1 of 1 (latest)

worthy forum
#

I have two questions about the controllers. The first is whether there is any way for the Needle XR controller to determine if a finger is lifted from, for example, the trigger, as in the Quest, to simulate touching a button. This would allow the user to lift their index finger from the trigger and play an animation. I have tried doing it with value, but even if the button is being slightly pressed, the value is 0. I tried with touched and pressed, but they also return false even if the finger is resting on the trigger, not exactly pressing it.
The other question is that I am trying to use args.xr.leftController.getButton("xr-standard-trigger") and it doesn't work. I have used all the other types of buttons like squeeze, press A, B, X, and they work without any problem. It only happens with the trigger, both with the left and right controller

heavy krakenBOT
# worthy forum I have two questions about the controllers. The first is whether there is any wa...

Thanks for reaching out @worthy forum

Please read through the following and share the information requested. This will help us to better assist you.

Description

Describe the issue that you're seeing. Please be as detailed as possible e.g. is this issue happening in Unity or Blender, which Needle Engine version are you using, do you see any errors in the Editor or Browser console, etc.

Information:

  • If you're using Unity click the menu item Needle Engine/Report a Bug/Copy Project Info to Clipboard. Please share the results below.
  • Please provide code snippets using Discord Code Blocks
  • Have you contacted Needle through another channel or just through Discord?

Thanks for submitting!

💡 Did you know that we now also have a forum with AI support? Join now with your discord account!

warm pivot
worthy forum
#

Hi, and how could I directly access the gamepad?

warm pivot
#

args.xr.leftController.gamepad for example