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

Controller

Extension introduction

XR_HTC_vive_cosmos_controller_interaction enables the use of HTC Vive Cosmos Controllers interaction profiles in OpenXR .

XR_HTC_vive_focus3_controller_interaction enables the use of HTC Vive Focus3 Controllers interaction profiles in OpenXR .

Supported Platform and devices

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


Enable Plugins

  1. Edit > Plugins > Search for OpenXR and ViveOpenXR , 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 changes to take effect.


How to use OpenXR Cosmos or Focus 3 Controller Unreal Feature

  1. Make sure ViveOpenXR is enabled.
  2. Edit > Project Settings > Plugins > Vive OpenXR > Click Enable Cosmos Controller under Cosmos Controller to enable OpenXR Cosmos Controller extension.
  3. Edit > Project Settings > Plugins > Vive OpenXR > Click Enable Focus 3 Controller under Focus 3 Controller to enable OpenXR Focus 3 Controller extension.
  4. Restart the engine to apply new settings after clicking Enable Cosmos Controller or Enable Focus 3 Controller .


Play the Sample map

  1. Make sure the Cosmos controller or Focus3 controller extension is enabled, the setting is in Edit > Project Settings > Plugins > Vive OpenXR .
  2. The sample map is under Content > Controller > Map .
    Controller_PlaytheSamplemap_2

  3. Find the action bindings inside Content > EnhancedInput > IMC_Keys.
    Controller_PlaytheSamplemap_3
    Controller_PlaytheSamplemap_3_2

    Note:

    • System key is a reserved key and cannot be retrieved.
    • For PC streaming, Menu key is a reserved key and cannot be retrieved.

  4. Find the enhanced input events inside the Content > Controller > Blueprints > BP_ControllerInputDebug.
    Controller_PlaytheSamplemap_4

  5. For using controller models, please note that cosmos controller and focus3 controller use different Motion Source , cosmos use Right and Left , focus3 use RightAim and LeftAim .
    Controller_PlaytheSamplemap_5_1
    Controller_PlaytheSamplemap_5_2
    Note: ViveFocus3Controller models are not built-in meshes. You can find them under Content > Controller > Meshes .
    Controller_PlaytheSamplemap_5_3

  6. Start playing the Controller map, the text shows the button you press, and the float figures show the Axis value when you press the trigger button or grip button, the mesh on the floor shows the direction of the thumb stick you push.
    Controller_PlaytheSamplemap_6