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. Type Hand Interaction to get the Hand Interaction blueprint functions your content needs.
    handinteraction_howto_5

    • Get HandInteraction Aim Pose
      handinteraction_howto_5_1
      Provide location and rotation of the aim pose on your hand.

    • Get HandInteraction Grip Pose
      handinteraction_howto_5_2
      Provide location and rotation of the grip pose on your hand.

    • Get HandInteraction Select Value
      handinteraction_howto_5_3
      Provide a float showing how hard your hand pinch.

    • Get HandInteraction Squeeze Value
      handinteraction_howto_5_4
      Provide a float showing how hard your hand Squeeze.

  6. Switch hands by enabling the Is Right checkbox.
    Get Left -hand HandInteraction Grip Pose
    handinteraction_howto_6_1

    Get Right -hand HandInteraction Grip Pose
    handinteraction_howto_6_2


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