These are chat archives for highfidelity/hifi

5th
Apr 2017
Flame Soulis
@FlameSoulis
Apr 05 2017 07:31
I think you check for the existence of the hand controller class or something like that. If it is present, then there are motion controllers present. THe only issue is that this may be inaccurate, at SteamVR likes to turn itself on no matter what as of late
Daniela Fontes
@Delanir
Apr 05 2017 10:03
@themelissabrown @FlameSoulis thank you for your answer. For lack of other options, that's the way I'm going to go then, frequently checking for the hand controller.
Anthony Thibault
@hyperlogic
Apr 05 2017 16:39
In JavaScript there's the HMD.isHandControllerAvailable() method.
Also, calling Controller.getPoseValue(Controller.Standard.LeftHand) will return an object with a valid flag. so if someone turns off the hand controller, or it loses tracking, the pose will become invalid.
Flame Soulis
@FlameSoulis
Apr 05 2017 21:56
@hyperlogic ah, cool! I was wondering if such a check would be added
Anthony Thibault
@hyperlogic
Apr 05 2017 22:57
Yeah, I think we added it for oculus users that don't have touch controllers
We needed to detect that and provide a gamepad mechanism for grabbing objects and interacting with the UI.