Recipe 2 Unity6 - RosoVRgarden/VRgarden-tutorials GitHub Wiki
VR recipe 2: XR Direct Interactor (Simple Hands)
After installing Unity, enabling the XR development, OpenXR, and installing XR Toolkit, we can finally start developping for VR. The first step is to use the hands for interaction. You have three solutions, the first is to interact directly with the objects using the Direct Interactor, the second is to focus on far interaction using the Ray Interactor and the third, specific to Unity 6, is the Near-Far Interactor. First, locate the hands inside the XR Origin > Camera Offset.
Under <XR Origin>, you have the LeftHand which contains the XR Interaction Group, Haptic Impulse Player.
For both hands, create a gameobject named Near-Far Interactor where you add following components: Near-Far Interactor, a Interaction Attach Controller, a Sphere Interaction Caster, a Curve Interaction Caster and a Simple Haptic Feedback.