02-28-2024 12:32 PM
I am creating an application for quest 3 using unity. I want to implement a custom swipe up hand gesture which will toggle a curved UI canvas using the setActive property. Basically, if I swipe up the menu appears and if I swipe up again the menu disappears. I couldn't find alot of documentation regarding swipe gestures only custom hand poses. So I tried to copy the objects used to create swipe gesture in the sample scene of the integration sdk but changed the orientation(transform recognition) so that it might work for a swipe up gesture but no luck. Hope someone could help guide me in how I could implement this feature in my application.
03-04-2024 11:27 PM - edited 03-04-2024 11:32 PM
I had done it using the sample before, I copied the swipe part directly and only changed the effect. For me it was just a circular movement of some items in sequence. I will try to find how I did.
03-04-2024 11:44 PM
On the right side, there is an active state unity event wrapper. I have just modified that part and utilized it as it is, while hiding the object and sounds that I don't need.