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 may be revoked at the discretion of Oculus staff.

How to get the 3D positions of the button on the controllers

Hi All,
Is there a way to obtain the 3D positions of the button on the Touch Controllers?
Can someone post a link to the API documents that do this? Or any other reference.

I would like to be able to draw little text labels over the top of the buttons.

Thanks.

Answers

  • YoirglYoirgl Posts: 157 Oculus Start Member
    I'm not an expert but if I had to guess,  I would suggest you take avatars, show controller and manually place your icons as child of the hand in play mode to get the coordinates right compared to hand position.
    ¯\_(ツ)_/¯
    I doubt there's anything in the api to give you precise button position.

    Yoirgl
  • DuncanDuncan Posts: 17
    NerveGear
    In the end I used the Pose joint hierarchy. With some extra transforms applied to the triggers so the labels did not appear in an odd place.

Sign In or Register to comment.