Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
tikitofu's avatar
tikitofu
Explorer
7 years ago

Primary and Secondary Hands

How are Primary & Secondary hands determined in Unity script? Can they be changed? I want to give users the option..thanks!

2 Replies

Replies have been turned off for this discussion
  • owenwp's avatar
    owenwp
    Expert Protege
    Oculus doesn't really have a concept of primary hand. There is just a left and a right, and you can use them however you want.
  • Anonymous's avatar
    Anonymous

    owenwp said:

    Oculus doesn't really have a concept of primary hand. There is just a left and a right, and you can use them however you want.

    The confusion may come from the fact that OVRInput has variable names like PrimaryHandButton and SecondaryIndexTrigger.
    In case someone else runs into this issue, know that you can check OVRInput.cs to see where those are set.
    If you want to check the input to a specific touch controller (or any type of oculus controller for that matter) you can use OVRInput.RawButton, OVRInput.RawTouch, ...