cancel
Showing results for 
Search instead for 
Did you mean: 

Interaction SDK Unreal engine 5.5 Dropping Issue

Nguyen2k2
Explorer
Hello everyone,
 
I need help with the drop event in the Meta Interaction SDK. I've been using the "Interaction SDK Samples for Unreal Engine" to learn about grabbing mechanics. I found that the grab event uses the Grab Transformer Event, but I couldn't find a corresponding drop event.
 
I tried using the Cancel Grab Event, but it didn’t work as expected.
 
If anyone has experience with this or knows a solution, I would greatly appreciate your help.
 
Thank you!
5 REPLIES 5

dario.maciel
Heroic Explorer

I never tried this interaction but maybe there is a function "is it grab" (its grabbed or someting like this) with a boolean. if so, just put on tick and on a branch. I know there is such a node in another sample from meta that uses hand tracking.  what exactly are you trying to accomplish? maybe put a collision on your hand mesh and check when overlaped with the grabed mesh and check later if ends overlaps to execute something

I'm trying to build a feature where objects are dropped and then snap to a specific location.
 
Currently, I'm using the method you suggested — I added box colliders to both hands in the hand tracking setup and used Begin Overlap and End Overlap to return a boolean isDropping.
 
This approach works to some extent, but it’s not always reliable. Sometimes the grabbed object overlaps with both the hand and the snap point simultaneously, causing issues with the snapping behavior.

That’s why I’m looking for a function that can detect the drop event more accurately.

dario.maciel
Heroic Explorer

are you making a puzzle game? I used this kind of behavior in a puzzle game

kutlaytunc
Protege

I don't wanna throw shades but that SDK was not reliable on my project also, it is still in experimental stage anyways. If there really is a problem I hope they see your post.

Nguyen2k2
Explorer

I found a way to handle this by using the State Changed Delegate (ISDKGrabbable) and checking its state. I'm not entirely sure about its accuracy, but for now, it works well for me. The key is to check the Previous State — if it was "Select," that means it's currently in the "Dropping" state.

Nguyen2k2_1-1742358108790.png