Skip to main content
February 28, 2024

Creating custom gesture swipe gesture

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.

    This topic has been closed for replies.

    2 replies

    Inspiring
    March 5, 2024

    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.

    Inspiring
    March 5, 2024

    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.