Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums will be revoked at the discretion of Oculus staff.
New to the forums? Click here to read the How To guide. -- Developers click here.

Hand swap (right or left)

Hello.
Developing GearVR + Oculus GO game on UE 4.19. How can we detect which hand is selected in controller options (left or right)? I've tryed MotionController->GetHand but it is deprecated in 4.19. MotionController->MotionSource always returnes "Right".

Comments

  • imperativityimperativity Posts: 3,587 Valuable Player
    Hi,

    Welcome to the Oculus Developer Forums.

    From our documentation:

    Motion Controller Components must be specified as either left or right controllers when they are added, and each Oculus Go Controller button mapping has a left/right equivalent. However, any button click sends both left and right events, so the setting you choose when you add the Motion Controller component has no effect.



  • GameDevLabGameDevLab Posts: 2
    NerveGear
    edited December 2018
    Maybe I have to specify the question. How can I get the player handeness (left/right)?
  • aussieburgerVRaussieburgerVR Posts: 181 Oculus Start Member
    You need to use "Is Device Tracked" for both left and right hands to see which one is active:



Sign In or Register to comment.