You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello thestonefox,
is there a easier way to order the buttons at the VRTK_RradialMenu into a new place? Want to have three Buttons. Two at left and right and a third in the middle.
In my own script, i calculate the Position and enable / disable the buttons dependent on touchPosition on touchpad.
In the VRTK_RadialMenu class I calculate the Position in a function too and set a bool if middleIsTouched true or false. To bool is given as parameter to InteractButton-function in youre VRTK_RadialMenuController class. There I check if the parent of parent of parent is activ in hierachy and if the name is equals my toolName. If true, i change the calculation of buttonAngle into 360/2 or to 360/1 if middleIsTouched. If an other tool is active, the calculation is normal 360/button.count.
I customized the functions which invoke the interactButtons function as well.
Do you think this will work?
Maybe you have a better solution for this :)
Greetings Chris.
The text was updated successfully, but these errors were encountered:
Hello thestonefox,
is there a easier way to order the buttons at the VRTK_RradialMenu into a new place? Want to have three Buttons. Two at left and right and a third in the middle.
In my own script, i calculate the Position and enable / disable the buttons dependent on touchPosition on touchpad.
In the VRTK_RadialMenu class I calculate the Position in a function too and set a bool if middleIsTouched true or false. To bool is given as parameter to InteractButton-function in youre VRTK_RadialMenuController class. There I check if the parent of parent of parent is activ in hierachy and if the name is equals my toolName. If true, i change the calculation of buttonAngle into 360/2 or to 360/1 if middleIsTouched. If an other tool is active, the calculation is normal 360/button.count.
I customized the functions which invoke the interactButtons function as well.
Do you think this will work?
Maybe you have a better solution for this :)
Greetings Chris.
The text was updated successfully, but these errors were encountered: