Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jboss's avatar
jboss
Protege
1 year ago

Interaction SDK Samples - Catch object

In the TouchGrab sample scene I can pick up the chesspiece with one hand and then drop it into my other hand. I copied this chesspiece to the HandGrab sample scene, to get a combined test scene, but now it falls straight through the hand. I tried to compare the two OVRHands objects and their children in the OvrCameraRig, but I can't see differences.

Can anyone tell me what makes the catching possible? Thanks

2 Replies

Replies have been turned off for this discussion
  • Big_Flex's avatar
    Big_Flex
    Meta Employee

    Hi jboss, I work on the Interaction SDK team, so feel free to tag me if you have any additional questions about the SDK. The scene with the chess piece uses the Touch Hand Grab interactor and interactable, which is what enables you to catch the chess piece. The HandGrab scene uses the Hand Grab interactor and interactable, which is different from Touch Hand Grab. 

  • Thanks Big_Flex for your reaction. When I copied the chesspiece I also added the TouchHandGrabInteractor to the LeftHandInteractors and the RightHandInteractors. So they are in the scene. I figured I should check the Comprehensive Rig Example and notice the same behaviour. In that scene also the chesspiece falls through the hand. I did some troubleshooting that might help you figure this out, because none solved the issue.

    Starting Point is that I have the HandGrabInteractor, TouchHandGrabInteractor and HandPokeInteractor in both the left hand and right hand interactors.

    1) Disabled both the HandGrabInteractor and the HandPokeInteractor for the left hand, so I ony have the touch interactor active for that hand and all three for the right hand.
    2) Disabled the hand grab and poke interactors also for the right hand. So now only the touch interactors are active for both hands.
    3) Moved the touch interactor above the other two interactors for the left hand in the hierarchy, as I know the order in the hierarchy may have impact on the behaviour, even though they might be inactive.
    4) Removed the grab and poke interactor completely for the left hand, so now I only have the touch interactor for that hand.
    5) Removed the grab and poke interactor also for the right hand.

    So after that last step I only have the touch interactors for both left and right hand. Which is bascially the same setup as the TouchhandGrab example. But stll the chesspiece falls through the hands.