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

Hand Interaction


Extension introduction

XR_HTC_hand_interaction allows developers to create an application with hand interaction.


Supported Platforms and devices

Platform Headset Supported
PC PC Streaming Focus3/ XR Elite X
Pure PC Vive Cosmos V
Vive Pro series V
AIO Focus3/ XR Elite V


Enable Plugins

  1. Edit > Plugins > Search for OpenXR and ViveOpenXR, and 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 Hand Interaction Unreal Feature

  1. Make sure ViveOpenXR is enabled.
  2. Select Edit > Project Settings > Plugins > Vive OpenXR > Enable Hand Interaction under Hand Interaction to enable OpenXR Hand Interaction extension.
  3. Restart the engine to apply new settings after clicking Enable Hand Interaction.
  4. For the available Hand Interaction functions, please refer to ViveOpenXRHandInteractionFunctionLibrary.h.
  5. Use Motion Controller Component and set Motion Source to LeftAimInteraction, LeftGripInteraction or RightAimInteraction, RightGripInteraction to get the tracking pose.

    HandInteraction_MotionSource

  6. Register Hand Interaction key in EnhancedInput to get the key events.

    HandInteraction_EnhancedInputKey HandInteraction_EnhancedInputEvent


Play the sample map

  1. Make sure the OpenXR Hand Interaction extension is enabled, the setting is in Edit > Project Settings > Plugins > Vive OpenXR .
  2. The sample map is under Content > HandInteraction > Map .
    handinteraction_play_2
  3. Aim the beam at the cubes far from you then pinch to hold them.
    handinteraction_play_3_1
    Close to cubes and grab them, you can hold them steady.
    handinteraction_play_3_2
  4. Start playing the HandInteraction map, you can grab the nearby cubes or aim the beam at cubes to hold and move them. The blue cube will float in the air, and the red ones will drop down when you release them.
    handinteraction_play_4