Skip to main content
Inspiring
June 10, 2017

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.

2 replies

Inspiring
June 12, 2017
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
http://unwise.software/
DuncanAuthor
Inspiring
June 23, 2017
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.