cancel
Showing results for 
Search instead for 
Did you mean: 

Creating custom gesture swipe gesture

abdur.dev.2024
Honored Guest

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.

2 REPLIES 2

bilgekagan
Protege

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.

bilgekagan_0-1709624486675.png

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.