I am using Unity 2022.1.14f1 and XR Interaction Toolkit 2.0.3. Using Oculus Quest.
Requirement: I would like to grab the CapsuleCylinder object from the Top only. Therefore, I am placing an empty gameobject at the top of the capsule cylinder and setting it as attach transform.
Issue: I can’t get attach transforms to work. This is impeding me from further testing any custom script for a two handed grab. This does not work with even the built-in XR Grab Interactable as shown.
Steps:
- Created an empty gameobject and placed it at a location where I would like to grab.
- Dragged it into the Attach Transform field of the Interactable in settings.
Observation: Regardless of placing the attach transform, my 3D object only gets grabbed at a certain point. Am I missing something? Would appreciate some help.