Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

Custom Hand Gesture


Introduction

Custom Gesture provides interfaces to customize hand gestures by calculating the fingers bending states and distance between fingers.


Supported Platform and Devices

Platform Headset Supported Plugin Version
PC PC Streaming Focus 3/XR Elite/Focus Vision V 2.2.0 and above
Pure PC Vive Cosmos V 2.2.0 and above
Vive Pro series V 2.2.0 and above
AIO Focus 3/XR Elite/Focus Vision V 2.2.0 and above


Enable Plugins

  1. Edit > Plugins > Search for OpenXR, ViveOpenXR and OpenXRHandTracking, make sure they are enabled.
  2. Note that the "SteamVR" and "OculusVR" plugin must be disabled for OpenXR to work.
  3. Restart the engine for the changes to take effect.


How to use OpenXR Custom Gesture Feature

VIVE OpenXR plugin provides a C++ Class named ViveCustomHandGesture which can be used to customize gestures. We demonstrate the Custom Gesture which uses BP_ViveCustomHandGesture in the ViveOpenXRGame > Content > CustomGesture > Blueprints.

For example, the distance of Thumb Tip and Index Tip should be set as Near for the OK gesture.

  1. Add the blueprint class to the Map.

    vivecustomhandgesturemap.png

  2. In the blueprint class, you have to name each gesture and then define left/right/dual hand gesture(s) by customizing the finger state joint (node) distance and palm rotation.

    vivecustomhandgesture.png

  3. Add and configure BP_RiggedHandRenderModel as left and right hand in the Map.

  4. Use the TextRender to display the Custom Gesture result by Bind event on Custom Gesture Hand Changed Left, on Custom Gesture Hand Changed Right and on Custom Gesture Hand Changed Dual Hand on Event BeginPlay.

    vivecustomhandgestureevent.png


Play the Sample map

  1. The sample is paper, scissors, stone game, please find it under Content > CustomGesture > Map.
  2. The custom gesture in Map will be detected and game shows the outcome.
    ueplayresult1.png