Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Getting Started (Oculus Quest)

Sangwon Choi edited this page Jul 29, 2021 · 13 revisions

1. How to set up

1.1. Download the bHaptics Haptic Manager Plugin from the Unreal Marketplace.

(https://www.unrealengine.com/marketplace/en-US/slug/bhaptics-haptic-manager)

1.2. Enable the Haptic Manager Plugin with the project.

gif

1.3. If you have not already, setup for Android development by following the

image

1.4. To enable Oculus Quest development, add 'Oculus Quest' to 'Package for Oculus Mobile Devices'.

img

2. Adding Haptic Feedback.

3. Quest Support

  • In order to connect the bHaptics devices to the Oculus Quest headset, use oculus system pairting.

3.1. Example UI

  • bHaptics SDK provides ready-made UI for checking haptics devices' connection status.

Example UI is located in HapticsManager Content > Blueprints > BhapticsUI.

image

3.2. Custom UI

  • We also provide a simple UI example to demonstrate how to implement your own bHaptics UI.

Custom UI is located in HapticsManager Content > Blueprints > Bhaptics_CustomUI.

image

3.3. World Space UI

  • To use the UI in the game world, navigate to HapticsManager Content > Blueprints and add either the HapticDeviceUI_World_BP blueprint to the Level.

  • Open up the Player Pawn/Character class.

  • Add a WidgetInteractionComponent to the actor and attach it to the Motion Controller.

  • Add Input events for Press Pointer Key and Release Pointer Key using the Widget Interaction and set the Key for both to be Left Mouse Button.

  • Please check more details here (https://docs.unrealengine.com/en-US/Engine/UMG/HowTo/InWorldWidgetInteraction/index.html)