VRTK icon indicating copy to clipboard operation
VRTK copied to clipboard

New 3D control: Switch

Open rwetzold opened this issue 9 years ago • 3 comments

It would be great to have a control that acts like a light switch with an on or off state, which is basically one button rotating and snapping to either side.

rwetzold avatar Aug 11 '16 10:08 rwetzold

This is a very simple thing to do with current VRTK events and since each switch will be different based on your scene I think we have enough as it stands now.

I propose closing this issue.

kristianpd avatar Sep 22 '17 15:09 kristianpd

I can see this being useful and could be even a core script (unless it already is by now(?)) since it's generally used in all types of projects like games, archviz, etc. and would be helpful for designers and artists.

reznovVR avatar Sep 22 '17 18:09 reznovVR

Is a switch not just a lever where the state can either be up or down?

I know there are different types of pivoted switches (i think newtonvr has a pivoted on/off switch). I bet you could replicate it with the rotator script though.

thestonefox avatar Nov 09 '17 14:11 thestonefox