DistanceGrabExample Scene
Updated: Nov 3, 2025
The DistanceGrabExamples scene showcases multiple ways for signaling, attracting, and grabbing distance objects:
- Anchor at hand anchors the item at the hand without attracting it.
- Hand to interactable uses a custom IMovementProvider together with a
HandAlignment.AlignOnGrab to move the object as if the hand was there. A ReticleGhostDrawer shows a copy of the hand at the object position. - Interactable to hand shows a custom IMovementProvider where the item moves toward the hand in a rapid motion and then stays attached to it. A ReticleMeshDrawer signals how the object will be attracted to the grabbing hand.
The DistanceGrabExamples scene can be found in the Unity Project window under Assets > Samples > Meta XR Interaction SDK > VERSION > Example Scenes.
Note: You might need to import the sample from Interaction SDK’s Sample section in Unity Package Manager.
There are three different types of distance grab interactions demonstrated in the DistanceGrabExamples scene:
- Hand grab with pose
- Interactable to hand
- Move hand at interactable
Reference material:
- Input mappings: Learn about how input mappings bridge modalities and interaction types.
- Input hierarchy: Learn about the different input hierarchies.
- Multimodality: Learn about multimodality.
- Ray casting: Learn about indirect interaction through ray casting.
- Touch: Learn about direct interaction through touch.
- Grab: Learn about grab interactions for object manipulation.
- Microgestures: Learn about microgesture interactions.