License requirement
The functionality described requires a MANUS Bodypack
or a MANUS license dongle
with one of the following licenses:
Core Pro
Core XR
Core Xsens Pro
Core Qualisys Pro
Core OptiTrack Pro
Demo
, or a Feature
license with the Unreal
feature enabled.
Interaction framework
This guide will help you make use of the gesture system included in the Unreal Engine plugin.
Warning
Make sure to use MANUS Core 2.2.0 or up to make use of gesture recognition in Unreal Engine.
Retrieve gestures
First open the BP_ManusGlovesPawn_Right/Left_Hand
blueprint, and fill the Get Gestures
function list. This needs to be done at startup. When starting up your system, the gesture list may be empty. You should wait until the list is filled.
If you want to add or remove gestures during runtime, you need to update the gesture list manually.
Detect gesture threshold
In this example we will use one of the default gestures; Grab
. The Gesture ID is retrieved from the previously filled gesture list. Using the Glove ID
and Gesture ID
, a confidence threshold value needs to be reached. This value ranges from 0-1 (0% no confidence to 100% full confidence).
It is set to 0.8 by default. A value of 0.8 is ideal for most situations.
Warning
A value of 1 or close to one is not recommended, as confidence rarely reaches this high.
Using grab gesture
MANUS uses Unreal’s TryGrabbing
system. Once a gesture has been detected and the confidence threshold is reached, the TryGrabbing
function is called. If one or more objects are within range, they will be handled by Unreal’s grab system. Objects will then be positioned according to the glove position and rotation.
To fine-tune or offset the position of the object you can add a translation transform to the grabbed object.