Forum Discussion
Duncan
8 years agoProtege
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.
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.
2 Replies
- YoirglStart PartnerI'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 - DuncanProtegeIn 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago