Announcement

Collapse
No announcement yet.

[Blueprints] Need help with grab & pinch method for gloves

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [VIVE] [Blueprints] Need help with grab & pinch method for gloves

    Hey guys,

    So i've recently purchased a new pair of Noitom Hi5 gloves and I am working on implementing them in UE4. There is little to nothing online about them so I have turned to you guys for some logic help.

    What I have so far: I have implemented a grab and pinch method which checks if the rotation of the finger is within a specific threshold and if it is then the grab is 'true' and it grabs the object. I have also implemented a release which does the exact same thing just using a different threshold.

    **NOTE**: The grab method checks for the rotation of the index, ring, middle, and pinky while the pinch method checks for the rotation of the index and thumb only.

    The issue: The way I have the blueprints setup, it becomes a bit buggy. I believe I have to grab first but then I am unable to pinch after. Then, at times I am unable to pinch but I can usually always grab (i'd say 95% of the time). Basically, I either have to grab first then pinch after (which doesn't always work) or I have to grab and hold the object in my hand then move it to my other hand and pinch it while it's held for it to work.

    My question is, how do I solve this issue? I feel like it might be because it is in a sequence but I am not sure of any other way to implement it. Any help would be appreciated.


    Full Blueprint (Fires on event tick): Click image for larger version

Name:	GrabRelease.PNG
Views:	1
Size:	422.6 KB
ID:	1500256

    Grab Blueprint Function: Click image for larger version

Name:	GrabFull.PNG
Views:	1
Size:	284.7 KB
ID:	1500257

    Release Blueprint Function: Click image for larger version

Name:	ReleaseFull.PNG
Views:	1
Size:	331.3 KB
ID:	1500258
Working...
X